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

Final case stage color differs after upgrade to Pega 7.2.2

SA-38490

Summary



After upgrading from Pega 7.1.5 to Pega 7.2.2, resolving a case does not cause the final stage to be displayed with a different background color.

In Pega 7.1.5, the last stage was still highlighted in a separate background color (black) after resolving the case.


Error Messages



Not Applicable


Steps to Reproduce



1. Create a Case and resolve it.
2. Search and open it in review mode.
3. Check the case overview for the case stages. The last stage does not display with a black background.


Root Cause



This is a result of correcting an existing defect in Pegasystems’ code or rules.

Pega fixed a defect with the case logic to ensure the last case stage (pyStageStatus) reflects "Past" instead of "Active".
In prior releases, after resolving a case the status of the final stage would remain as "Active".

So when a case is resolved, all case stages are considered in the "Past" and thus will not have any differentiating color for the final stage anymore.

Resolution



To override the section pyStageName, perform the following local-change steps:

1. Modify one existing dynamic layout's visible when conditions to apply when a case stage has been completed, and if there are additional stages remaining in the case. Add .pyStageStatus=='Past' && .pyNextStageStatus!=''





2. Then create a new dynamic for the final case stage using a visible when condition that checks there are no more stages left.
Add .pyStageStatus=='Past' && .pyNextStageStatus=='' in the visibility condition.





3. And then modify or create a new styling and use it in the presentation tab.
Observe in the image below this example uses the Out-of-the-box (OOTB) "chevron active", which will treat the final stage as "active" thus changing the color for the final stage despite being a closed case.



Published July 3, 2017 - 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