Workflow Defaults: If no approvers, 'Stay there' BUT dont approve, possible?

andy_dufresne
Tera Expert

Hello Gurus,

The default behavior is when the approver's list is empty, the workflow continues as 'approved'.   Is it possible for the workflow to wait so that a user can manually add approvers?

if so, how can I do that?

Thanks in advance!

ps: Happy to provide if more details are required.

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

Hi Andy,



Out of box this won't happen. If the approver's list is empty it will be auto-approved.


To handle this you can add some wait condition just before the approval activity and check if approver's list is empty and if empty then wait until there is atleast one approver added to that list.



This wait for condition will end when approver is added and now approval will be sent to that user.



Mark Correct if this solves your issue and also hit Like and Helpful if you find my response worthy based on the impact.


Thanks


Ankur


Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

5 REPLIES 5

Ankur Bawiskar
Tera Patron
Tera Patron

Hi Andy,



Out of box this won't happen. If the approver's list is empty it will be auto-approved.


To handle this you can add some wait condition just before the approval activity and check if approver's list is empty and if empty then wait until there is atleast one approver added to that list.



This wait for condition will end when approver is added and now approval will be sent to that user.



Mark Correct if this solves your issue and also hit Like and Helpful if you find my response worthy based on the impact.


Thanks


Ankur


Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hi Ankur,



Thanks for the reply.   TBH:   'Wait for condition' has been a very inconsistent [example : even when there were approvers and they approved it, the WF sits there for a 'nudge'].   The business users did not like the 'nudge' concept.   So wait for condition is not going to work for me 😞



But appreciate your response!


Hi Andy,



So I think one thing you can do is add if condition here to check if approver list is empty. if it is empty then go to wait for condition and if not empty then directly go to approval activity. so in this way wait for condition will be executed only when approver list is empty.



if(approver list empty) -> yes -> Wait for condition -> approval activity



                                                                                                                                                                        |


                                                                    -> no ----------------------------------|



Mark Correct if this solves your issue and also hit Like and Helpful if you find my response worthy based on the impact.


Thanks


Ankur


Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hi Ankur,

Any script for reference is available for the if condition. Could you please share?

 

Thanks.