ServiceNow Learning 53: Close an incident after 10 days via Flow Designer ServiceNow.

Shamma Negi
Kilo Sage
Kilo Sage

Hi All,

 

Here is a great example how to handle the below scenario via flow designer:

 

Example: Close an incident if it has been in the resolved state for 10 days

In this example, a flow starts when the incident state changes to Resolved.

Flow trigger
 
ShammaSalhotra_4-1699272101936.png

 

 

 

Example: Wait 10 days after the last update to a record

In this example, the flows waits for 10 days after the incident record has been resolved.

Wait for Duration flow logic
 
ShammaSalhotra_5-1699272141791.png

 

 

 

Example: Update a record after 10 days

In this example, the flows closes the incident record 10 days after it was resolved.

Action used to close the incident
 
ShammaSalhotra_6-1699272171301.png

Hope this helps you.
I hope this article helpful. Please mark it as helpful and bookmark if you like it.

Thanks,
Shamma

 

Regards,Shamma Negi
9 REPLIES 9

This article is based on this ServiceNow Docs Link.

Please have a look.

 

Vancouver Notes : Wait for a duration flow logic (servicenow.com)

 

Thanks,

Shamma

Regards,Shamma Negi

Ok, that doesn't justify it. In docs it's also just an example, to showcase the wait.

But anyhow, I'm not saying this article is wrong. Yes it can work like this. If it's the right way... That differs per use case.


Help others to find a correct solution by marking the appropriate response as accepted solution and helpful.

Agree with you. It is just an alternate example.

Thanks for commenting.

 

Regards,

Shamma

Regards,Shamma Negi

zeeshanahmed
Tera Contributor

Hi @Shamma Negi , 

 

How this is different from setting the number of days in the property glide.ui.autoclose.time

This can be done for any table which includes your custom table also and can be used in scoped app also. 

 

Thanks, 

Shamma

 

 

Regards,Shamma Negi