Is it possible to move the work object from Current Stage to the assignment1 in next Stage(Stage2) in pega using Activity
I'm trying to resolve/navigate a case having multiple stages from the work object creation to resolved-completed purely using activity. I'm trying to move the workobject from assignmentx(say) of current stage to the assignment 1 in next stage using activity.
I've tried up with the following options
1. Used pychangeStage Activity and checked Cleanupprocesses and called startflow of the flow1 in stage2
O/p: Null Pointer Exception in the Step pyChangeStage Activity
2. Used pxChangeStage Activity and checked Cleanupprocesses and called startflow of the flow1 in stage2
O/p : Activity is running Successfully and work object is not opening the assignment1 in flow1 in stage2
But unable to move the workobject to assignment1 in flow1 in stage2
Why don't you call the OOTB pyChangeStage flow action which worked well on button click > Launch Local Action > Replace current harness and call pyChangeStage flow. If you are in the same harness then its working as expected, but if you launch the flow action in modal dialog then it gives the above error which you specified as it is not able to find the current stage.