Aydin Toprak (topra)
Senior System Architect
Pegasystems Inc.
topra Member since 2016 19 posts
Posted: April 28, 2021
Last activity: May 12, 2021
Posted: 28 Apr 2021 11:48 EDT
Last activity: 12 May 2021 5:16 EDT

Clearing stage status while changing


We have very straight forward requirement to display the status of the stages in particular way. 

In this specific case type, we have four stages. we can just between these with specialised pyChangeStage FlowAction. 

What we would like to do is to keep following stages (ie the 3rd and 4th one while we are on the 2nd stage) "future" (.pyStageStatus should be set to "Future" in order to be shown like like that) .

The current behaviour is setting the status "Past" even If we don't do anything at all. For example, If we just to 4th stage and come back to 2nd one, the 4th stage looks completed. I would like to set 3rd or the 4th one to "Future" if thats the case. 

Current implementation is using D_CaseStage and this is readonly... the source of this DP is bit confusing (with Java steps)  and "Final"

Do you know the proper solution to do this ? 


***Edited by Moderator Marissa to update Platform Capability tags****
Pega Platform 8.1.9 Case Management