- Tue Sep 05, 2017 9:39 am
#795292
Hello,
The Claim case REST endpoint doesn't work.
In my opinion the error is in the line 1005 of the Light.php. (processmaker/workflow/engine/src/ProcessMaker/BusinessModel/Light.php)
I modified the function call.
The Claim case REST endpoint doesn't work.
In my opinion the error is in the line 1005 of the Light.php. (processmaker/workflow/engine/src/ProcessMaker/BusinessModel/Light.php)
Code: Select all
The $userUid variable is the current authenticated user's id. Because this user hasn't been assigned yet to the case, the value of the $iDelIndex is incorrect.$iDelIndex = $oCase->getCurrentDelegation( $sAppUid, $userUid );
I modified the function call.
Code: Select all
David$iDelIndex = $oCase->getCurrentDelegation( $sAppUid );