Close incident after 7 days of being resolved using flow designer.

bgulshan
Tera Contributor

I am trying relative condition, and it is not working, completely skipping the condition

Please suggest a solution which does not include wait for condition.

 

 

13 REPLIES 13

Shivalika
Mega Sage

Hello @bgulshan 

 

You have given wrong relative condition

 

It should be "Resolved RELATIVE before 7 Days  FROM NOW" 

 

It means 7 days in future and just before that - it will trigger. 

 

Kindly mark my answer as helpful and accept solution if it helped you in anyway. This will help me be recognized for the efforts and also move this questions from unsolved to solved bucket. 

 

Regards,

 

Shivalika 

 

My LinkedIn - https://www.linkedin.com/in/shivalika-gupta-540346194

 

My youtube - https://youtube.com/playlist?list=PLsHuNzTdkE5Cn4PyS7HdV0Vg8JsfdgQlA&si=0WynLcOwNeEISQCY

Ankur Bawiskar
Tera Patron
Tera Patron

@bgulshan 

this is already taken care by OOTB business rule "incident autoclose" and INCs are closed after 7 days of Resolved time

This system property "glide.ui.autoclose.time" holds the value 7

Why to do this with flow designer?

AnkurBawiskar_0-1744168869552.png

 

AnkurBawiskar_1-1744168919368.png

 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Yes @Ankur Bawiskar ,

I should have mentioned, this flow is regarding Major incident

@bgulshan 

So what's your actual business requirement

1) closing resolved Major incidents? -> if yes then it's not best practice to auto close major incidents, those should be manually closed by user with MIM role after resolution has been confirmed

Close a major incident 

OR

2) sending email for closed incidents after 7 days of closure?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader