Decision Management (ODM,ADS)

 View Only
Expand all | Collapse all

Is it possible to get sub decision result as response?

  • 1.  Is it possible to get sub decision result as response?

    Posted Wed August 09, 2023 02:41 AM

    Hey Teams,
    hope everyone doing well!
    After deploying the decision service and calling the endpoint using URLs then I am getting the only top-level decision output.
    so, I am trying to get all decision outputs and how many have inside the decision service as a response body.

    For example - I have created a decision service and the inside decision service has five decisions so I want all decision outputs to come as an endpoint responses body.



    ------------------------------
    Kishan Kumar
    ------------------------------


  • 2.  RE: Is it possible to get sub decision result as response?

    Posted Wed August 09, 2023 06:58 AM

    Super easy - capture the sub decision outputs as ruleset varibles and just add these as response parameters of your decision service.



    ------------------------------
    Raj Rao
    Principal Consultant
    RuleScape Consulting LLCraj.rao@rulescape.biz
    ------------------------------