Escalation doesn't work

Hi,

I am trying to to create an escalation using a user task combined with a boundary event in my process.
But when I run it, there is an error like :
java.lang.IllegalStateException: Authentication is not set. Use SystemAuthenticator in non-user requests like schedulers or asynchronous calls.
at io.jmix.core.security.impl.CurrentAuthenticationImpl.getAuthentication(CurrentAuthenticationImpl.java:49)
at io.jmix.security.impl.constraint.AuthenticationPolicyStore.extractFromAuthenticationByScope(AuthenticationPolicyStore.java:107)
at io.jmix.security.impl.constraint.AuthenticationPolicyStore.getEntityResourcePolicies(AuthenticationPolicyStore.java:70)

I saw on flowable documentation something about
<property name=“asyncExecutorActivate” value=“true”
But I am not able to find it out in Jmix projet.
Can anybody help me to solve this issue ?

Sans titre

Hi,

It seems that you should set the authentication inside your service task. See System authentication section in the documentation.

When timer is fired there is no authentication set to the context - probably, that’s why you get the error.