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

Pooja Mallikarj
Kilo Sage

Hi Rocky,

Did you put the correct choice values for  "Closed/Abandoned" and "Closed/Cancelled" in activity.result=='choice values'

Thanks,

Pooja M

Pooja Mallikarj
Kilo Sage

Hi,

 

Looks like other values except 

  • Closed complete
  • Closed incomplete
  • Closed skipped
  • Deleted
  • Cancelled

would not be validated as part of the activity.result. Please refer the screen shot.

 

find_real_file.png

The document clearly tells the possible result values are.. Refer this documentation.

 

https://docs.servicenow.com/bundle/orlando-servicenow-platform/page/administer/workflow-activities/r...

 

The listed states works correctly except other values. Please mark as helpful or correct if it helped you get a answer.

Thanks,

Pooja M

Pooja Mallikarj
Kilo Sage

Hi,

If you are able to resolve your issue and if you find my answer as worthy please mark it as correct and close the thread so others can refer it.

Thanks,

Pooja M