Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Restarting Cancelled Workflows (restartWorkflow())

ryanschneider
Kilo Explorer

Can you restart a cancelled workflow?  I have a number of cancelled workflows that need to be restarted but not all of them. All approvals can remain intact for each one I need to restart.  I understand that the function is restartWorkflow(current,boolean) but I am not sure where to run it or how to focus on a specific cancelled workflow.  Any example of how to do this would be very helpful.  Thank you!

9 REPLIES 9

SaiRaviKiran Ak
Tera Guru

Hi,

There is an article which explains about resuming a cancelled workflow.

Find below:

Resuming a Cancelled Workflow

 

Thanks,

Ravi

Also look at Chuck Tomasi's answer from below thread.

How to Restart any workflow?

Thanks Ravi!

I was able to get to step 10 but I am unable to move forward as this form is Read Only.  We are on Kingston Patch8 so I presume there was some changes to this from then to now.

Did you verified the second thread ?

Mark correct/Helpful if it solves your issue.