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.

Need to check state of catalog task before closing RITM

Heather White
Mega Guru

Hi Community,

     I have a workflow that sets the state of the RITM to closed once the related sc_task is closed.  I have added a notification that is sent between the creation of the task and the closing of the RITM. How would I check the state on the task and trigger the closure based on that state?

Here is my workflow:

find_real_file.png

The "Active" field is not checking on sc_task, so I assume I will need a script for this.

 

Thanks,

Heather

1 ACCEPTED SOLUTION

Hi Heather,

Can you amend your wait condition to be something similar to this and see if this works as you expect:

 

find_real_file.png

 

Thanks

Sam

View solution in original post

5 REPLIES 5

Hi Heather,

Can you amend your wait condition to be something similar to this and see if this works as you expect:

 

find_real_file.png

 

Thanks

Sam