I try to start the process instance via cdi bean. My start event has a dedicated jsf form (thesiswk_preconditions_show.xhtml. At the end of this form I call a method in a cdi bean:
The following error appears: org.camunda.bpm.engine.AuthorizationException: The user with id 'studi1' does not have 'CREATE' permission on resource 'ProcessInstance'.
Perhaps it has something to do with setting the user via identityService?
Because I use external jsf forms and wildfly authentication, I have to set the current user into camunda identity service - right? I do that with getting the remote user and setting it with:
From above error message, I can see that the system was able to recognize the user.
Can you please try to grant the user itself the proper permissions …
Good morning,
sorry, you are right, now it is another error. When I click on the submit button in the external form which is dedicated to my start event (thesiswk_preconditions_show.xhtml) the following error appears:
org.camunda.bpm.engine.cdi.ProcessEngineCdiException: Cannot associate execution by id: no execution with id ‘8f3d286f-40cb-11ea-84b5-a434d96233af’ found.
Forwarding to the next form (masterdata_insert.xthml) does not work, but when I go to the tasklist, I see that the process is started