state is on hold and on hold reason as awaiting caller, notifications to be sent

Deepika54
Tera Contributor

Hello experts,

 

if the incident is on hold and on hold reason is awaiting caller, notification has to be sent on 10th,12th,15th day and after 15th day, in every 5 days interval but it should not go once the state changes to anything apart from the on hold and awaiting caller.

 

So to achieve that i have created a BR that makes entry on sys_trigger table on the respective days and a cancel br that deletes the entry on sys_trigger table to handle if the state changes to anything else.

 

I am able to do till the 15th day. Now can anyone let me know how can i able to accomplish the every 5 day interval logic and also keeping in mind that it should not go once the state changes.

 

Kindly help

5 REPLIES 5

Pranesh072
Mega Sage
Mega Sage

Create flow logic "do the following in parallel" with 
1.You can create a flow with trigger  on hold and on hold reason is awaiting caller, add wait of duration for 10 days followed by another wait for duration for 2days(12days) and so on. For every 5 days, create a do untill loop with wait for duration of 5 days.

 

2. wait for condition - state is not on hold and awaiting caller, put end the flow