Discussion
Call decision table in when rule with parameter
Hello,
I want to use a decision table in which the first row is a parameter. This decision table should be evaluated in a when-rule, in which I pass the parameter to the decision table and get true or false back.
Is there a function which I can use to call a decision table with a parameter in a when-rule?
For Example:
Context (param.Function) | Evaluation 1 | Evaluation 2 | Return | ||
---|---|---|---|---|---|
if | Function1 | true | true | ||
else if | Function2 | true | true | ||
otherwise | false |
When-Rule: @FunctionToCallDecisionTableWithParameter("param.Function1", DecisionTableName)
Return-Value: True/False
If you have further questions, please let me know.
Thanks, Marcel
**Moderation Team has archived post**
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.
A When rule can call OOTB Decision Table obtainValue()
You are wanting a certain Parameter to be set in the step page's ParameterPage as opposed to using a Property within the step page itself?
There is not that much difference between the two - both are StringMaps.
Perhaps a PageGroup Property would meet your need?
You can set the PageGroup subscript dynamically using a Property value.