Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

activity.result not working as expected for states

Rocky5
Kilo Sage

Hi Experts,

I am stuck at the RITM workflow. I have a catalog task created from RITM and the below are states on catalog task, using 'activity.result' the workflow is working as expected for all states except "Closed/Abandoned" and "Closed/Cancelled"

find_real_file.png

How should I achieve this ?

 

Thanks,

Rocky.

6 REPLIES 6

Harshal Gawali
Giga Guru

Hello Rocky,

Please follow below steps to check backend value of state field.

Navigate to sc_task table and right click on state field.

click on configure dictionary and check values for "Closed/Abandoned" and "Closed/Cancelled".

For reference check below screenshot.

find_real_file.png

find_real_file.png

In catalog task activity, add following codition.

 

find_real_file.png

 

Regards,

Harshal.

Pooja Mallikarj
Kilo Sage

Hi,

If your issue is resolved kindly mark the appropriate answer as correct and helpful and close the thread.

 

Thanks,

Pooja M