Support Article
Misinterpretation of return value 'Call' in decision table rule
SA-46065
Summary
Decision table misinterprets the return column value containing string 'Call', during its execution.
It tries to call another decision table whenever string 'Call' is encountered in its return column.
Error Messages
Failed to find instance ABC.Tmp Wek of type Rule-Declare-DecisionTable.
Steps to Reproduce
1. Create a decision table which returns a property value (say Company) once a condition is met.
2. Create a sample activity which set the above property value to a string containing word 'Call' (eg:"Call Tmp Wek")
3. Call decision table from the above activity:
Root Cause
Call is a keyword which shouldn't be used in the return value. This keyword is basically used to call another Decision table from a Decision Table’s return value.
In this scenario, the decision table tries to call decision table 'Tmp Wek' whenever it encountered string like 'Call Tmp Wek' in return column. Since the decision table 'Tmp Wek' doesn't exist, above error message is logged.
Resolution
In this context 'Call' is a keyword and it shouldn't be used in decision table return value.
Therefore tweaking the property value 'Company' in the activity resolves the issue.
Published March 21, 2018 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.