As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
processEngine.getIdentityService().setAuthenticatedUserId("kermit");
This would mean that all threads / request share the same identity service,
and thus that the setAuthenticatedUserId is valid for all threads.
How do I make sure that setAuthenticatedUserId is not influenced by other threads / request and subsequent calls are executed in context of the user set before?
<br>processEngine.getTaskService().claim(taskId, username);<br>