How to reopen a "Closed complete" catalog task and set the state to "Work in progress" in Service portal?

Subhashree
Kilo Explorer

Hi All,

I am trying to reopen a closed complete catalog task and set the state to "Work in progress". I have tried making below changes in the Workflow in a runscript where I am setting the state to 2, work_end, assigned_to fields to null. This runscript executes before the Catalog task activity which I want to reopen. But when it reaches at the catalog task activity, state becomes Open!

find_real_file.png

At the portal, State is 'Open'

find_real_file.png

Please let me how to update the state to "Work in progress" here for already a completed task when we try to reopen that task.

 

Thank You.

2 REPLIES 2

Willem
Giga Sage
Giga Sage

Hi Subhashree,

 

Reopening a closed sc_Task should not be taking lightly. Is it a possibility to instead of reopening a already closed one, create a new task? This way you have the history/insight of a task already being opened and closed and the need for that second one. More insight in the process gives you more chance to improve.

 

If you want to continue this way, be aware that other scripts are effecting the value as well. For exampe can you check the Business rule "task reopener" that is setting reopened tasks (and sc_task is an extend of this) to a default work state.

find_real_file.png

https://docs.servicenow.com/bundle/orlando-platform-administration/page/administer/field-administrat...

 

 

Willem
Giga Sage
Giga Sage

@Subhashree 

Hope you are doing well.

Let me know if I have answered your question.

If so, please mark answer as correct & helpful to close the thread.

If not, please let us know if you need some more assistance.

Regards

Willem