Restart New Workflow following activity count exceed

Sam Ogden
Tera Guru

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

1 ACCEPTED SOLUTION

Hi,



Did you try this for current workflow.



new Workflow().restartWorkflow(current);



See below thread:


Resuming a Cancelled Workflow



Thank you,


Ashutosh


View solution in original post

6 REPLIES 6

Ashutosh Munot1
Kilo Patron
Kilo Patron

Hi Sam,



Do you want to Restart the workflow for Cancelled workflow changes?



Thank you,
Ashutosh


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


Hi,



Did you try this for current workflow.



new Workflow().restartWorkflow(current);



See below thread:


Resuming a Cancelled Workflow



Thank you,


Ashutosh


See below thread, it will help you:



Restart workflow from UI action?



Thank you,
Ashutosh