Questions and discussion around ProcessMaker 2 documentation

Moderator: amosbatto

By pmuser
#49819
Hi

I'm trying to route a case using the ProcessMaker WSDL Web Services.
This is so the case can be progressed and can be picked up in the next task.

However, I'm finding that I can only progress this case by using the task owner's credentials.
If I try to progress it using 'admin' privilges, I get the following error:

"This case is assigned to another user ".

Is there any way I can route a case without using the task owner's authentication?

Ideally I'd like to use one user that has access to all cases, so this user can progress any case.

Thank you
User avatar
By amosbatto
#787779
Process Permissions won't allow to route a case assigned to another user.

PMFDerivateCase() doesn't check that the user has permission to do the routing (at least it doesn't in version 3.0). You can create a trigger that calls PMFDerivateCase and then you can use the sendVariables() web service to set the case ID and delegation index in case variables which are used as parameters for PMFDerivateCase(). Then call the executeTrigger() web service to execute that trigger.

If that doesn't work, then you will need to create a trigger which looks up the hashed password in the database for the user assigned to the task. See: http://wiki.processmaker.com/3.0/Proces ... e_Database
Set the password hash to a case variable, then use getVariables() to get that case variable. Then use login() to login as that user and then call routeCase().
Process Design Access Group

Hi, This is for end users not designer users and d[…]

Add a new case status

Hi, In the Participated tab you can click on the c[…]

Building a report

Hi, You can select your data from "app_cache_[…]

Change template of reset password

Is possible to change the template is send by ma[…]