0

If I set the Hit Policy as “Collect:Sum” the output in the test canvas is not what I expect. For example my expected output from the following decision table is 3.

enter image description here

enter image description here

When i run this decision model for a customer i get the following result: This is a list not a sum. I get this same result when the hit policy is Collect:Sum, Collect:Max, Collect:Min, Collect:Count.

enter image description here

1 Answer 1

0

The hit policy for “Collect:Sum” is working but it needs to be used with a programmable.

For example

  • if you want to use the sum output of the Decision Table in a programmable or another decision table then it can be used as per usual by referencing it using the Output Reference
  • if you want to use the sum output of the Decision Table in an experience then it can be passed into a programmable and then referenced in an experience as per usual

Programmable returning the output of a decision table using the Output Reference ('output')

enter image description here

The result in the test canvas of the Decision Table and the programmable.

enter image description here

Using the output of the decision model in an experience

enter image description here

Your Answer

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

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