- Sat Apr 01, 2017 7:02 pm
#790055
Hello,
I'd like to setup 3 triggers. One is to assign the next step to the current user. Others are 'example 3' in wiki.
When I finish all the steps, I always receive the below error. Could you tell me the cause of the error? I attached sample steps.
The row '95847690858e02edc698488014304227, 3' in table AppDelegation doesn't exist!
I'd like to setup 3 triggers. One is to assign the next step to the current user. Others are 'example 3' in wiki.
When I finish all the steps, I always receive the below error. Could you tell me the cause of the error? I attached sample steps.
The row '95847690858e02edc698488014304227, 3' in table AppDelegation doesn't exist!
Code: Select all
Example 3:
To avoid having to click on the Continue button at the end of a task, create the following trigger, which is set before assignment:
PMFDerivateCase(@@APPLICATION, @%INDEX);
If the next task is assigned to the same user as the current task, then it can be opened directly without going to the Inbox. Create the following trigger and set it to execute after routing:
$caseId = @@APPLICATION;
$nextIndex = @%INDEX + 1;
G::header("Location:cases_Open?APP_UID=$caseId&DEL_INDEX=$nextIndex&action=draft");
die();
-----------------------------------------------------------------------------
http://wiki.processmaker.com/3.1/ProcessMaker_Functions
Attachments
(35.81 KiB) Downloaded 345 times