Parallel approvals in workflow

anu3
Kilo Explorer

Hi,

I need help on below scenario:

The catalog item includes multiple (suppose 10) approvals in workflow after manager's approval.

I want if out of these 10, one of the approver rejects the approval then instead of ending the workflow, it will go back to manager and then again the whole worflow starts again.I worked on this and it is following correctly.But here's a challenge , I want that people who already have approved in previous cycle should not get approval request again since it will add up to their work. Only the one who have rejected changes its state and will become open.

Kindly suggest a way for doing this.

 

 

 

8 REPLIES 8

Pedro Lopez
Kilo Guru

Hi Anu,

The only idea coming to my mind is doing it by using an script. You can create a field with the list of all the approvers and every time your workflow is restarted, you will remove the approver from your list. On this scenario, you will be updating the list of approvers by removing them.

 

Hope this helps,

Pedro Lopez

Thanks Pedro.

Would you mind if you please elaborate your idea, how should i implement this (create list and then remove the approvers) in my workflow.

This will be a great help.

Thanks in Advance.

 

Hi Anu,

You need to do something like this:

1. Create a field with the list of approvers before the workflow starts.

2. During your approval process, the user will approve.

3. By using an script, you will need to get the name of the user who approved.

4. By using an script, you will need to remove the name of the approver once you have the name. You can use the SYS ID instead of the name to avoid issues with the user name.

5. Your workflow will be restarted by using the new list of users.

 

I dont know the full design so I am not sure what you will need to use for the scripts. My suggestion: Create an Script activity in the workflow to get and remove the name from the list (after your Approval Step). In this way, it would be more easy for maintenance.

 

Hope this helps,

Pedro Lopez 

sbh
Tera Guru

Hello @anu@08 ,

Do you remember how you got the workflow to go back to the manager and start over if the manager rejected? That's exactly what I need to do but everything I try ends the workflow when the approver rejects the request.

Thanks very much -