Hello,
This is my business case: I have a workflow with 3 approvals (flexi tasks) in sequence.
Assume 3 approvers A,B and C, each having a separate task to approve.
My problem is that if long term delegation is enabled say for approver A to approver B, B ends up having to approve twice (as A and which is what I want to avoid. I want the workflow to skip the task if an approver already approved a task in the workflow.
How can I address this ?
One option I can think of is to use a webservice to query delegation table, check if task assignee has a delegation active, if that is the case, retrieve delegate user then check if that user already approved any other task in the workflow (not sure how to do this) and if that is the case skip the flexi task.
That's a lot do to for something that should be simple. Any better way ?