Created a flow designer to Auto close incident that are not update more than 3 Business Days.

Balasai peela
Tera Contributor

Hello Everyone,

 

I have created a flow designer to Auto close incidents that are not update more than 3 Business Days for particular group and the flow is working correctly. However the flow should not consider Saturday and Sunday as business days.

 

For example, the incident was last updated on 1st Nov 2024 and its Friday. If we count 3 days continuously the incident should close on Monday because it will reach 3 days. 

 

But, As per our requirement the incident should close on Wednesday cause it should exclude saturday and sunday as these days are not business days.

 

How and where I should add these condition in flow designer to consider only 3 business days.

 

I appreciate any help.

 

Thankyou,

Bala

13 REPLIES 13

Kieran Anson
Kilo Patron

For these requirements, I prefer to have a flow that triggers on state change of the incident rather than a scheduled job.

Within that triggered flow, you can have "runs in parallel" that has two steps, one to end the flow if the state changes, and the other step waits for 3 business days and uses a schedule. 

Hi @Kieran Anson ,

 

Thank you for your response.

 

This is how I created flow designer. Below are the steps.

1. 

Balasaipeela_0-1730725654267.png

2.

Balasaipeela_1-1730725702214.png

3.

Balasaipeela_2-1730725737085.png

 

The above flow is checking 3 days and the flow is executing. However, it is considering sat and sun days also. i want to exclude sat and sun in the 3 days. How to add this condition in flow and after which step i have to add.

 

Regards,

Bala

You need to redesign your flow as mentioned. You can't query based on a schedule, only calendar days

Hi @Kieran Anson ,

 

Could you please elaborate your approach using calendar days.

 

Thankyou,

Bala