AnsweredAssumed Answered

User permission to reject or approve task

Question asked by pnature on Jun 23, 2017

Hi. I have Alfresco community edition 5.1. I have created couple of new users and workflow with tasks (form key=wf:activitiReviewTask).

If new user tries to reject or approve task I get error: org.alfresco.scripts.ScriptException: 05230008 Failed to execute supplied script: 05230007 Access Denied. You do not have the appropriate permissions to perform this operation.

There is one script in task listner and one in sequence flow listener


execution.setVariable('wf_reviewOutcome', task.getVariable('wf_reviewOutcome'));
execution.setVariable('wf_reviewComment', task.getVariable('bpm_comment'));


logger.log("Review User task Completed " + execution.getVariable('wf_reviewOutcome'));

When I add new user into ALFRESCO_ADMINISTRATORS grout then everything goes fine.
Second strange thing is when I use my own form key with additional outcome then the same error as above occur only on default outcomes (Approve,Reject) not on mine (Delegate).



What is the problem?

Thanks in advance.