[jboss-user] [jBPM] - Re: PermissionDeniedException on task Claim

alphan arslan do-not-reply at jboss.com
Thu Apr 26 05:46:48 EDT 2012

alphan arslan [https://community.jboss.org/people/aalphan] created the discussion

"Re: PermissionDeniedException on task Claim"

To view the discussion, visit: https://community.jboss.org/message/732357#732357

Hi José
Maybe its too late but i wanna share my solution for others

I had the same issue but i solve the problem by adding modified org/jbpm/task/service/operations-dsl.mvel file to the classpath 
You can change the operation requirements with this file
        : [ new OperationCommand().{ 
                status = [ Status.Ready,Status.Reserved ],
                allowed = [Allowed.Anyone, Allowed.PotentialOwner, Allowed.BusinessAdministrator ],    
                setNewOwnerToUser = true,           
                newStatus = Status.Reserved
            } ],
this solved my problem 

In an other way you can extend TaskService by changing the Map<Operation, List<OperationCommand>> operations field and use this with the TaskServer implementations


Reply to this message by going to Community

Start a new discussion in jBPM at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120426/4d5d01b8/attachment.html 

More information about the jboss-user mailing list