Hello there,
I want to cancel processes, but it is difficult with ExecutionListener with the Event Type of end …
Every time I get a NullPointerException because of my GetUserProfile class, because there is no possible getUserId because of the abort.
String userId = execution.getProcessEngineServices()
.getIdentityService()
.getCurrentAuthentication()
.getUserId();
I don’t have the Enterprise version, so maybe someone knows a way without SkipCustomListeners?
