2

I am building a decision model with a programmable that returns a map. How can I use attributes from this map in a decision table?

1 Answer 1

2

When returning a map from a programmable, the type in the settings needs to be changed to a Map. If the type is not updated, the output will be interpreted as a string by the platform.

enter image description here

Decision Tables

When using a Map from a programmable in a decision table, follow these steps:

  1. Select the programmable as an input.
  2. On the Add Input Column page,
    • enter the ‘Name of Column’ as it will appear in the decision table
    • Enter the ‘Map Key’, which is a reference to the attribute in the Map you want to use i.e. map name.attribute
    • Select the Type, depending on the data type of the attribute you are using. d.
  3. Once the Input Column is added the decision table can be used as normal

Please see an example of the Input Column below: enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.