Flow designer mail notification triggers after wait for duration

sukran
Mega Sage
  • If Inc changes to resolved state then wait for 2 days after that if still in resolved state , send a mail notification to caller for reminder close the incident - this works fine

 

  The challenge here is , if Inc changes to resolved then one flow execution starts , and wait for 2 days ..in between the user changes state to 'New' and again move to resolved then another flow execution happened for notification.. it seems dual notification for resolution

How to restrict to execute only one notification to sent ?

 

5 REPLIES 5

Muhammad Khan
Mega Sage
Mega Sage

Hi @sukran ,

 

Try with Wait for duration action in flow designer. Please refer to below image for better understanding.

MuhammadKhan_0-1701017043045.png

 

You can also try with a scheduled job to check the incidents in resolved state and compare the resolved time of those incidents with the current date/time and based on the duration trigger an event which will trigger a notification.