When I have tasks with entry criterion and repetition, I do not get an automatic re-evaluation because the lifecycle events (“complete” for example) are ignored.
I now that I can force a re-evaluation of all senetries by setting a variable, but is there a more direct/elegant way to achieve this?
I am looking for some api-code I can call to directly tell camunda that I want sentries to be reevaluated.
Thanks
Hi Jan,
I’m afraid there is no such API and setting a variable is the most practicable workaround that I am aware of.
Cheers,
Thorben
Setting a variable might lead to optimistic locking exceptions when we do it multiple times.
I agree, but I don’t think there is a way around it. An explicit API for sentry evaluation would have the same problem.
Hi, Jan Golinski,
Please can you tell me how did you force a re-evaluation of all sentries by setting a variable?
Regards.