Good Day. I am having a hard time figuring out the best approach to achieve the following.
I have a workflow with several approval steps of different types.
Step 1 - Hierarchy (Line Manager)
Step 2 - User
Step 3- User
In some cases the approver in Step 1 is the same as the approver in Step 2 or Step 3. The requirement is to bypass Step 2 or Step 3 in case the approver has already done so in Step 1.
I have thought about going through this with the functional approach , either by using (conditional steps, automated workflow actions) but neither will work as there are no options to retrieve last approver or the next approver OTB.
I thought about adding a custom field to the workflow document class and using it later as a workflow condition, but I can't retrieve the next approver.
In addition I have thought about creating a customer participant provider however I am still unsure if I can create a conditional participant provider that returns a different approver list based on the workflow originator.