Decision table return value staring with call is calls DT
User has configured a Decision Table rule where the return value is a property reference.
When the value of the property starts with "call " (Example : "call me in the evening"), during runtime the decision table execution tries to call another decision table named 'me in the evening' instead of returning the string 'call me in the evening'
Rule not found : Rule-Declare-DecisionTable me in the evening
Steps to Reproduce
- Configure a decision table with a return value using a property reference.
- Set the value of the property to stat with 'call ' before executing the decision table (Example : call me in the evening).
- Run the decision table.
The reason for this is “Call” or “call” is a reserved keyword in Pega, and when the Decision Table result is evaluated the Call that appears at the beginning of string is being treated as a caller for another decision table.
Perform the following local-change:
Prepend the string that starts with "Call" with a non-printable character or simply by a white space.
0% found this useful