We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

Using workflow to Request for an approval that is already closed

Not applicable

Hi @OlaN,

Can you please help me with the workflow where, suppose a request is sent for approval. A group member approves it. The requirement is to see the same request can be sent back for approval again (state as Requested). I tried for it, but not working as expected. Kindly help.

Regards

Suman P.

4 REPLIES 4

Not applicable

Hello,

There is a similar requirement like mine in the post.

https://www.servicenow.com/community/developer-forum/how-to-successfully-roll-back-reset-manual-appr...

But for me it is a group approval. How would I change the script, so it would work for group approval please.

 

var rec = new GlideRecord('sysapproval_approver');
rec.addQuery('sysapproval', current.sys_id);
rec.addNullQuery('wf_activity');
rec.query();
while(rec.next()){
   rec.state = 'not requested';
   rec.comments = 'Approval rolled back by change workflow.';
   rec.update();
}

Regards

Suman P. 

Dr Atul G- LNG
Tera Patron

Hi @Community Alums 

 

Once a request has been approved, why you sent back (The requirement is to see the same request can be sent back for approval again (state as Requested). I tried for it, but not working as expected.)?

*************************************************************************************************************
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/dratulgrover [ Connect for 1-1 Session]

****************************************************************************************************************

Not applicable

Hi @Dr Atul G- LNG,

My requirement is "When I open my submitted request, I cannot make changes, can we make it so that I can make changes and if done, forces a re-approval from anyone who has already approved?" Kindly help if possible.

 

Regards

Suman P.

Hi @Community Alums 

 

NO, as per standard and OOTB process, once a request submitted we cant change any thing or should not change as well that is not a recommended also it may impact already attached flow / wf as well. So it must be rejected by approver or user can call SD to cancel it or make change in variable if SD is allowed to make changes. 

*************************************************************************************************************
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/dratulgrover [ Connect for 1-1 Session]

****************************************************************************************************************