- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-24-2017 05:25 AM
Hi All,
On our Normal Change we have a ticket that has had its workflow cancelled as it has exceed the activity count.
This count was just set to the default of 100. We are going to adjust this figure.
For the ticket that had the workflow cancelled how do we get the amended workflow to start on this record?
Has anyone got any example script on how to achieve this?
Thanks
Sam
Solved! Go to Solution.
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-24-2017 06:00 AM
Hi,
Did you try this for current workflow.
new Workflow().restartWorkflow(current);
See below thread:
Thank you,
Ashutosh

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-24-2017 05:45 AM
Hi Sam,
Do you want to Restart the workflow for Cancelled workflow changes?
Thank you,
Ashutosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-24-2017 05:50 AM
Not all cancelled workflow changes, just specific tickets.
Currently we just have the 1 ticket we need to get moving again, but would be useful to be able to do this again in the future if needed.
Thanks

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-24-2017 06:00 AM
Hi,
Did you try this for current workflow.
new Workflow().restartWorkflow(current);
See below thread:
Thank you,
Ashutosh

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-24-2017 06:01 AM