Reopen the catalog task after the catalog task is closed completed or closed cancelled

Tejaswini9
Tera Expert

Hello Guys,

Is it possible to reopen the catalog task after it is closed completed, if so please let me know how this functionality should be achieved( SC task should be reopened and put to work in progress and corresponding Requested item and request also should be put to work in progress)

Or else can anyone give me more ideas on how this process works i am new to snow and scratching my head to understand what is the best way to handle this reopening process of SC Task.

Please provide your valuable suggestions and any suggestions will be most welcome

Many thanks in advance!!!

 

 

1 ACCEPTED SOLUTION

Here is the code we used to restart the workflow:

var ritm = current;
new Workflow().restartWorkflow(ritm, false);
ritm.update();
current.work_notes = "RITM workflow restarted";
current.update();
action.setRedirectURL(ritm);

View solution in original post

8 REPLIES 8

Sorry I previously missed this comment. Here is the code we used to restart the workflow:

var ritm = current;
new Workflow().restartWorkflow(ritm, false);
ritm.update();
current.work_notes = "RITM workflow restarted";
current.update();
action.setRedirectURL(ritm);

 

If my reply has helped in any way, kindly mark it helpful/correct. Thanks!

Yes, if you could provide the script for doing this that would be great! We have request to reopen tickets, where they closed their task before adding a new task that needed to be added. 

Thanks

Janet

Here is the code we used to restart the workflow:

var ritm = current;
new Workflow().restartWorkflow(ritm, false);
ritm.update();
current.work_notes = "RITM workflow restarted";
current.update();
action.setRedirectURL(ritm);

swathi31
Tera Contributor

How can we close multiple tasks under the one RITM @BryanS413339635