cancel
Showing results for 
Search instead for 
Did you mean: 

Conditional Flow in Activiti with timer

rasmi
Champ in-the-making
Champ in-the-making
hi

I have a user task which has a timer attached to it. After the timer expires for eg: 1 day , it should send a reminder email to the user and after 2 days, it should cancel the user task and terminate the entire flow.

For the above logic, I have created a user task with a timer attached to it. From the timer, a sequential flow is sent to a mail task and then from mail task, a sequential flow back to the user task.

The above logic works fine for sending reminders, but I do not know how to give the condition to terminate the whole process after 2 days.

Please help.

Thanks.
1 REPLY 1

jbarrez
Star Contributor
Star Contributor
Why not use two timers: one for the reminder, one to end the process.
The first timer has cancelActivity="false", the second not.