cancel
Showing results for 
Search instead for 
Did you mean: 

Timer Boundary Event and optional Due Date

tonyrivet
Champ in-the-making
Champ in-the-making
Hi,

I have a very simple use case I can't manage to resolve :
I have a validation workflow, with an optional due date. I put a Timer Boundary Event on the validation user task, leading to a reminder notification (service) task when the due date is reached. The problem is this due date is optional, and an error is thrown when it is not specified.

Can I force the timer not to be executed when there is no due date ? AFAIK there is no execution condition on the timer…

Even if I set a dummy due date (like 1/1/1970), the timer is executed. I could set a far away date instead but I find that a bit dirty too…
Is there a solution or another workaround ?

Thank you in advance for your help.

Tony.
3 REPLIES 3

jbarrez
Star Contributor
Star Contributor
The correct way to model this is to have two different user tasks: one with and one without the timer, and have an exclusive gateway in front of that

tonyrivet
Champ in-the-making
Champ in-the-making
Yeah, this is the solution I chose, even if that remains a workaround…
An execution condition on timers could really be helpful here !

Anyway, thank you for your answer !

guillaume_yan
Champ in-the-making
Champ in-the-making
Hello,

I would like to know if it's now possible to do an optional timer like describe on the first post ?