Salil Mittal (Salil)
Lead System Architect
Pegasystems Inc.
Salil Member since 2011 15 posts
Posted: 2 weeks 2 days ago
Last activity: 2 weeks 2 days ago
Posted: 8 Jul 2021 11:45 EDT
Last activity: 8 Jul 2021 11:57 EDT

Headless reopen and go to 1st assignment in a specific stage

Requirement - On reopening a closed work object, system should go to the 1st assignment of the last stage the work object was in prior to closing.

Solution 1)

OOTB "Reopen" activity calls "pyReopenToStage" flow. This flow can be changed to call OOTB activity "pxChangeStage" by passing stagename as the parameter. 

Solution 2) 

OOTB "reopenWorkObject" can be called by setting 2 parameters

a) ChangeToStage = name of the stage to jump to

 Note: Stagename value can be obtained from workobject from pxStageHistory.

Pega Platform 8.6 Case Management Financial Services Lead System Architect