Hi All,
I am facin one issue to delegate tha task from one user to another user. please find the below log. according to this log the psusr1 is the potential owner of the current task. but he is not able to delegate task user it self and this user as part of role rest-all. Please give me the solution.
2016-10-24 18:23:01,591 WARN [org.kie.remote.services.rest.exception.DescriptiveExceptionHandler] (default task-23) Exception thrown when processing request [/task/129/delegate?targetEntityId=psusr1&userId=psusr1]; responding with status 500: org.kie.remote.services.rest.exception.KieRemoteRestOperationException: User '[UserImpl:'DSCDADMIN']' was unable to execute operation 'Delegate' on task id 129 due to a no 'current status' match
at org.kie.remote.services.rest.exception.KieRemoteRestOperationException.internalServerError(KieRemoteRestOperationException.java:151) [kie-remote-services-6.4.0.Final.jar:6.4.0.Final]
at org.kie.remote.services.cdi.ProcessRequestBean.doTaskOperation(ProcessRequestBean.java:419) [kie-remote-services-6.4.0.Final.jar:6.4.0.Final]
Caused by: org.jbpm.services.task.exception.PermissionDeniedException: User '[UserImpl:'psusr1']' was unable to execute operation 'Delegate' on task id 129 due to a no 'current status' match
at org.jbpm.services.task.internals.lifecycle.MVELLifeCycleManager.evalCommand(MVELLifeCycleManager.java:155) [jbpm-human-task-core-6.4.0.Final.jar:6.4.0.Final]
regards,
Srini..