Auto close requested item when all catalog tasks are closed using Flow Designer

Corey Harris
Kilo Expert

Good morning developers,

I know this question has been asked several times on here but I haven't found a solution that meets my requirements. The only thing I'm trying to do is automatically close the requested item once all catalog tasks have been closed using flow designer but nothing I tried works. Here are the conditions I'm using to update the requested item:

find_real_file.png

Could someone help me figure out what I'm doing wrong?

 

Best regards,

 

cnharris

1 ACCEPTED SOLUTION

DrewW
Mega Sage
Mega Sage

What exactly is not working?  Is it closing the Requested item to soon, not at all, or something else?

Last I tried this all you needed to do is have a very last step that set the stage to "Complete" and the Requested Item would close.  So try adding a last step that really does nothing and adding the stage "Complete" to that.

 

View solution in original post

11 REPLIES 11

DrewW
Mega Sage
Mega Sage

What exactly is not working?  Is it closing the Requested item to soon, not at all, or something else?

Last I tried this all you needed to do is have a very last step that set the stage to "Complete" and the Requested Item would close.  So try adding a last step that really does nothing and adding the stage "Complete" to that.

 

Hi Drew,

Thanks for responding! Its the requested item that's not closing once all catalog tasks have been closed. I tried your suggestion but didn't have any luck. Once the catalog tasks were closed the requested item didn't update to set the stage to complete.

Then add an Update Record action that sets the Requested Item stage to complete and or Active to False and see.

 

Oh and just came across this

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0696106