Are you looking at a custom Task Inbox when you click a validate button? Are you on a task details page? What action(s) does the validate button perform?
To be more in details, in this application we have two kind of human tasks.
For the first one “FI”, buttons don’t do anything to approve or reject the task.
For the second one “MM”, from the inbox when I go to see the task detail I have the “You don’t have the premission to …”
Both tasks are custom and I trying to get the implementation code.
Also I reproduced the error around 9.43 am CEST today and increase the MWS log level.
In attachement you can see it.
We faced this issue when we migrated to webMethods 713.
According to our observation, in webMethods 713, to open /view / update a task - along with the functional privileges on the task, user must also be in a role which is present in assignedToList of the task.
In your case, applyChanges(), applyChangesNoAccept() method will work if the user (performing these actions) is part of the role which is set to acceptedByList of current task.
Hope this helps.
Best regards,
Raja sekhar Kintali
I am getting the below eror when some user task is getting invoked.
In my process I have one user task.When I am publishing some document to start BPM process ,BPM process is getting started but getting failed at user task.
Below is the IS as well as MWS error logged for this issue.
electric.util.WrappedException: SOAPException( Server.userException: com.webMethods.portal.bizPolicy.BizException: [POP.017.0004] You dont have permissions to queue new task )
at com.webMethods.caf.wsclient.proxy.impl.WSClientDynamicProxy.getCompatibleException(WSClientDynamicProxy.java:493)
at com.webMethods.caf.wsclient.proxy.impl.WSClientDynamicProxy.invoke(WSClientDynamicProxy.java:255)
at com.sun.proxy.$Proxy86.queueTask(Unknown Source)
at pub.task.taskclient.queueTask(taskclient.java:173)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java:441)
at com.wm.app.b2b.server.invoke.InvokeManager.process(InvokeManager.java:643)
at com.wm.app.b2b.server.util.tspace.ReservationProcessor.process(ReservationProcessor.java:39)
at com.wm.app.b2b.server.invoke.StatisticsProcessor.process(StatisticsProcessor.java:49)
at com.wm.app.b2b.server.invoke.ServiceCompletionImpl.process(ServiceCompletionImpl.java:243)
at com.wm.app.b2b.server.invoke.ValidateProcessor.process(ValidateProcessor.java:49)
at com.wm.app.b2b.server.invoke.PipelineProcessor.process(PipelineProcessor.java:171)
at com.wm.app.b2b.server.ACLManager.process(ACLManager.java:302)
at com.wm.app.b2b.server.invoke.DispatchProcessor.process(DispatchProcessor.java:34)
at com.wm.app.b2b.server.AuditLogManager.process(AuditLogManager.java:369)
at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:547)
at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:384)
at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:238)
at com.wm.app.b2b.server.BaseService.invoke(BaseService.java:205)
at com.wm.lang.flow.FlowInvoke.invoke(FlowInvoke.java:258)
Not exactly trying to create new task instance.
When my BPM process is started ,I am logging to MWS as Administrator user and can see my process get failed at user task step with the mentioned error.So,I don’t think there can be any issue with permission management as before any user intervention it is getting failed.