HR Task conditions in Flow Designer

TechnologistTim
Tera Expert

What is the best way to approach this:
Case gets submitted
Task is created
If the task is not acknowledged by being in the ready/close/cancelled state, send a notification every 24hrs until it is. 
Once the task is "acknowledged", call a subflow and don't worry about the notifications. 

Real world, no telling how long someone will action it but it'd be within the Resolution SLA for the case. It could be immediate, or it could take someone 10min to get to it. The Task gets created and is put in the DRAFT state. I tried the wait-for-condition but while there is a DRAFT state option on the Task record, there isn't in FD. This would trigger the positive conditions but I can't get it to look for draft. I've tried waiting for 24hrs (test is 30sec) then else if status is NOT ready/closed/cancelled. Again, it wouldn't loop back to look for positive conditions. 

If I do an If/Else statement, it won't ever check back to see if the status has changed within that 24hr period. I tried Do the Following Until but that would have to complete the loop before it would check again. I put a Wait logic for 1min to give the agent time to change the task status but the Until conditions were never being satisfied (Task status is ready/closed/cancelled) even though the status was in fact one of the 3. It would go down the Do the Following path. 

Maybe I could have a wait for 10min then if the status is changed, good. Then Else and run additional if/elses to capture the notifications and acknowledgment... 

Any help would be greatly appreciated. Thanks guys. 

0 REPLIES 0