The workflow is not progressing to the next step after the catalog task has been closed.

Reddy
Kilo Sage

Hello All,

 

After obtaining approval, I am creating the catalog task with an advanced script. Once the task is closed, it does not move to the next step. Please see below.

 

Reddy_0-1729021049345.pngReddy_1-1729021096648.png

 

1 ACCEPTED SOLUTION

The issue has been resolved. I'm creating a change request from the catalog task using a UI action. The script sets the Parent field on the catalog task to the change request number by removing the RITM number, causing the catalog task to not move to the next step.

View solution in original post

2 REPLIES 2

Akash4
Kilo Sage
Kilo Sage

Hello,

A quick verification you can do by populating all fields in Catalog Item would be helpful. Since, usually in scripting, if the values return empty/noValue then the script lines goes unpredictable while execution.

If the current.variables.priority, description, short_description are populated and the workflow moves to next stage after Catalog Task closure, then you can add IF blocks for each field assignment with variables something like -

if (current.variables.priority){
task.priority = current.variables.priority
}

 

Regards, Akash
If my response proves useful, please mark it "Accept as Solution" and "Helpful". This action benefits both the community and me.

The issue has been resolved. I'm creating a change request from the catalog task using a UI action. The script sets the Parent field on the catalog task to the change request number by removing the RITM number, causing the catalog task to not move to the next step.