Ask questions about installing and configuring ProcessMaker 3
By mickyus
#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!
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
By mishika
#790061
Hello,

I reviewed the process you have attached.
There are following problems with the process:
1. Task 1 must not have a Value Based Assignment, rather it can have Cyclical Assignment with a particular user assigned to it.
2. You need to place the triggers only in Task 1 and not in Task 2.
I have made the changes in the process and shared it here. Please assign a user to Task 1 and check the process if it is working as desired.

Hope this helps

Best Regards
Mishika
Attachments
(34.49 KiB) Downloaded 364 times
Want to create your own meme coin?

In the world of cryptocurrencies, a unique and exc[…]

The market for cryptocurrencies is demonstrating a[…]

What's SAP FICO?

Embarking on a dissertation can be one of the most[…]

Hello. For rental housing, there are software solu[…]