Support Article
Preview of activity does NOT include preconditions, transitions
SA-18722
Summary
The "Preview" of an activity in Actions > Preview does NOT include preconditions or transitions information.
Error Messages
Not Applicable
Steps to Reproduce
- Create new activity rule with preconditions and/or transitions.
- Try the "Preview" of the activity via Actions > Preview.
Root Cause
In the ActivityStepHTML rule the condition checked for pyStepsPreCondition property and pyStepsTransition property is for -1 value, "true" value must be checked as well.
Resolution
In the available rule ActivityStepHTML update the code as below:
For Pre Condition Replace:
<pega:when test='$this.pyStepsPreCondition=="-1"'>
with
<pega:when test='$this.pyStepsPreCondition=="-1" || $this.pyStepsPreCondition=="true"'>
And for Transition replace:
<pega:when test='$this.pyStepsTransition=="-1"'>
with
<pega:when test='$this.pyStepsTransition=="-1" || $this.pyStepsTransition=="true"'>
Published January 31, 2016 - 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.