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
Since this is related to the embedded activiti engine in Alfresco Content Services, you might have better luck with answers if you ask this question on the Content Services forum. Anyway, if you can get access to the Runtime Service, the users can be added to process as a participant/candidate using the apis listed here RuntimeService (Activiti - Engine 5.22.0 API)
Ask for and offer help to other Alfresco Process Services and Activiti Users and members of the Alfresco team.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.