I want to attach a timer with a specific time to a user task not depending on the task start (day, time,…).
So one task starts at 8:00 am another at 9:00 am and each task should have a timer attached that fires at 6:00 pm.
How can I accomplish this?
Welcome to the community.
You can consider using Event Subprocess with timer start event if the timer should be triggered only once no matter of the task that is in execution at that time.
Also here is a list with all events: BPMN 2.0 Implementation Reference | docs.camunda.org
thank you for your quick answer.
No matter how, it seems to me that i have to calculate and set the date for the timer.
And here I see the problems. I tried a task listener without success. When the listener starts and queries for my timer, it seems not to be committed yet.
Maybe my approach is completly wrong.
Yes you understand me correctly. I think a duration just waist the specified time and fires. I want to set a specific time e.g 18:00 to all timers in all user tasks that are started. To my opinion I have to calculate a datetime and set my timer. Independently when the task starts. If the task starts later than 18:00 the next business day shall be chosen.