Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

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

  1. Create new activity rule with preconditions and/or transitions.
  2. 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

Was this useful?

0% found this useful

Have a question? Get answers now.

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

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us