I am taking few details in stage 1 and sending to approval in stage 2. When approver rejects it again goes back to stage 1. I am using change stage when approver rejects. When case begins the stage 1 step should have its pyWorkStatus open and when case moves to stage 1 after approver rejection the pyWorkStatus should be open-modification. how can i achieve this
have an utility shape in the stage 1 before assignment. Set some property on case when the approver rejects the assignment.
Initially set the status to open in the utility, when the approver rejects and case moves to stage1 again then in utility set the status as open-modification. In utility, for condition you can use the property that is set above.