Support Article

Decision table return value staring with call is calls DT

SA-28940

Summary



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'


Error Messages



Rule not found : Rule-Declare-DecisionTable me in the evening


Steps to Reproduce

  1. Configure a decision table with a return value using a property reference.
  2. Set the value of the property to stat with 'call ' before executing the decision table (Example : call me in the evening).
  3. Run the decision table.


Root Cause



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

Resolution



Perform the following local-change:

Prepend the string that starts with "Call" with a non-printable character or simply by a white space.





 

 

Published October 7, 2016 - Updated October 27, 2016

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.