Playbook Configuration - How to loop back on rejected approvals?

RehaS
Tera Contributor

In ServiceNow Playbook, I want to configure an approval action to verify a task. If the approval is granted, the playbook should proceed to the next stage. However, if the approval is denied, I need the playbook to revert to the previous step and repeat the previos steps and ask for  approval again. How can I achieve this in ServiceNow Playbook? What would be the best approach to set this up?

4 REPLIES 4

Bhavin2
Tera Contributor

Hi @RehaS , Do you have update on the query , we are trying to fulfil same 

RehaS
Tera Contributor

Hi @Bhavin2 , so we couldn’t accomplish to go back to the previous step. But what we did was created a new activity with new flow action where we did the approval and rejection. So to summarise, a single activity in playbook which will handle the approval and rejection process. Only when the approval is received it will move to the next activity playbook, else it will stay on the same activity

Rey Paras
Tera Contributor

Hi @RehaS , Can you provide the details on how you configure your custom activity for this workaround? 
Thanks.

 

RehaS
Tera Contributor

Hi @Rey Paras , we created a new activity and called a custom flow action. The custom flow action will have the below steps

once the task is completed

1. Ask for approval - if approved, then end flow

2. If Approval rejected, go back to step 1 with rejected comments and reopen the task that was previously sent for approval

This will be done until an approval is received or you can set a max limit with number of times the flow can ask approval again

i hope this helps