Support Article
Decision shape connector created as a When instead of Result
SA-70607
Summary
When adding a Decision shape which references a Decision Table, the connectors that are automatically created are incorrectly flagged as 'When' instead of 'Result'.
Error Messages
Not Applicable
Steps to Reproduce
In the WebChat Conversation Flow, add a Decision shape and configure the Decision Table. This automatically creates connectors as When and instead of Result.
Root Cause
A defect in Pegasystems’ code or rules.
The Embed-Rule-Obj-Flow-ProcessModel.pyDMAddConnector model rule sets the incorrect conditions on Step 9.
Resolution
Perform the following local-change:
Modify the below,
PropertiesName: .pyConditionType
PropertiesValue: param.fromOutline ? "Else" : "When"
PropertiesName: .pyMOName
PropertiesValue: param.fromOutline ? "Else" : "{When}"
to,
PropertiesName: .pyConditionType
PropertiesValue: param.fromOutline ? "Else" : "Status"
PropertiesName: .pyMOName
PropertiesValue: param.fromOutline ? "Else" : "{Result}"
Alternatively, update to Pega 8.1.3 patch release or Pega 8.2.
Published January 23, 2019 - Updated December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.