Decision Table with multiple outputs

Certified Lead Developer

Hi,

I have a decision table that returns two outputs based on the input values.

I'm calling this Decision table rule from a process, how can i store the result in a activity class variable?

The output of the decision table is a MAP, i could not find a compatible datatype for this in a process model.

 

Can someone please help?

TIA

 

Regards,

Sunil Zacharia

  Discussion posts and replies are publicly visible

Parents
  • Hi Sunil,

    When a decision has multiple outputs, it is called as compound output (or MAP) which is nothing but a dictionary with fields that correspond to each output field name of the Decision. You could write an expression rule which calls the decision and then cast the output of the decision to a CDT corresponds to the dictionary the decision returns.
    Lastly call that expression inside your process model and capture the output with that CDT type.

    Thanks

Reply
  • Hi Sunil,

    When a decision has multiple outputs, it is called as compound output (or MAP) which is nothing but a dictionary with fields that correspond to each output field name of the Decision. You could write an expression rule which calls the decision and then cast the output of the decision to a CDT corresponds to the dictionary the decision returns.
    Lastly call that expression inside your process model and capture the output with that CDT type.

    Thanks

Children