In ServiceNow we can cancel or restart workflow whenever we need by background or fix script.
Cancel Workflow
var workflow = new global.Workflow(); workflow.cancel(rec);
2. Restart Workflow:
var wflw = new Workflow(); wflw.startFlow(wflw.getWorkflowFromName('give the workflow name'), current, 'update');
No responses yet