I am getting an error "... user is not allowed to access information about process 1280" when I use alfresco/api/-default-/public/workflow/versions/1/processes/1280/variables
where 1280 - id of super process
How to involve user of child process to the super process using webScript or ExecutionListener?
I have tried to do so:
ExecutionEntity thisEntity = (ExecutionEntity) exec;
ExecutionEntity superExecEntity = thisEntity.getSuperExecution();
superExecEntity.getProcessInstance().involveUser("userId", IdentityLinkType.PARTICIPANT);but it didn't help