How to stop a subflow that sends reminder emails every month when the task is closed complete

janindiadoc_1
Tera Expert

Hi All,

 

I have a requirement to send monthly reminders for 12 months when a task is changed from Pending to work in progress. I have implemented that by using the flow logic "do the following until". The monthly reminder wait is done using a subflow that calculates the duration and wait for completion.

 

The problem here is say the monthly notification is to be generated next month, but if the task is marked to Closed, it should stop the subflow and do the rest of the updates in the flow.

 

Basically requirement is to 

1. Send monthly reminders till 12 reminders if user not responds

2. If user responds and when the task is closed complete, it should stop the subflow and do the rest.

 

For me, the subflow is still waiting eventhough the task is marked to Closed Complete. Any ideas how to achieve this?

 

Thank you

 

1 ACCEPTED SOLUTION

Peter Bodelier
Giga Sage

Hi @janindiadoc_1,

 

Use flow logic, 'Do the following in parallel'. In the second stream, choose wait for condition, state = closed, and to the remaining logic there. End it with 'End flow'


Help others to find a correct solution by marking the appropriate response as accepted solution and helpful.

View solution in original post

1 REPLY 1

Peter Bodelier
Giga Sage

Hi @janindiadoc_1,

 

Use flow logic, 'Do the following in parallel'. In the second stream, choose wait for condition, state = closed, and to the remaining logic there. End it with 'End flow'


Help others to find a correct solution by marking the appropriate response as accepted solution and helpful.