amosbatto wrote:Which REST endpoint are you using? There are several to get variables.
We are using GET, but it works in every process besides one. Could there be some sort of permission/oauth issue that we are missing?
amosbatto wrote:Are you passing the access token in the header of the REST call?
amosbatto wrote:Is the logged-in user assigned to the current task in the case?
Yes, the logged in user is logged in when submitting the task into a script.
amosbatto wrote:Can you provide your code or screen shots if you are using postman or httprequester?
I wouldn't know what specifically to send as there is so much, but I can try to give more insight.
It's failing in /opt/processmaker_workflow/workflow/engine/src/ProcessMaker/Services/Api/Cases.php in the __isAllowed function, specifically ln 55:
return $oCases->checkUserHasPermissionsOrSupervisor($userUid, $applicationUid, $dynaformUid);
it's returning empty to this process and returns 1 (true) for the other processes where it works fine getting the variables. It fails when retrieving the app id