How to re-run the workflow

rajesh54
Tera Contributor

Hi

How to re-run the workflow where RITM State is Close Complete Request State is Close incomplete
For Request State is Close Complete, Stage is Close incomplete

why because due to a BR one task hasn't got created and other tasks are close incomplete.
we have disable that BR. now we need to re run that workflows.
There are Approvals which are Approved on RITM and request

Thank You


Thank You

3 REPLIES 3

Rafael Batistot
Kilo Patron

Hi @rajesh54 

 

This solution might help you 

 

https://www.servicenow.com/community/developer-forum/best-practice-to-re-run-workflows/m-p/1900737

 

If this response was helpful, please mark it as Helpful and, if applicable, as Correct, this helps other users find accurate and useful information more easily.

Tanushree Maiti
Tera Patron

Hi @rajesh54 

 

1) As per this community post (https://www.servicenow.com/community/service-management-forum/how-to-restart-a-workflow-from-the-scr...) , using fix script , you can re-run the workflow:

 

"global.Workflow().restartWorkflow(current, true);

Restart workflow from UI action?"

 

2) https://www.servicenow.com/community/developer-forum/best-practice-to-re-run-workflows/m-p/1900737

 

 

Please Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti

AshishKM
Kilo Patron

Hi @rajesh54 , 

Please check if workflow state has already ended then i would suggest to create new request in reference of current RITM and get the desire result which is expected after BR disable.

 

Consider this alternate/workaround as a ITIL process best practice, also check with your org ITSM process team to confirm which path they agree to go with, however you have other technical solution suggested by @Tanushree Maiti and @Rafael Batistot 

 

As a platform tech owner, I would go for new request( on PROD ) instead of trying to re-trigger underlaying workflow which may cause other issue like ( emails re-trigger )

 

My view is based on PROD instance, for non-prod you can try the tech path

 

Thanks,

AshishKM

 


Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution