- Tue Sep 03, 2019 6:10 am
#826314
Hi All,
We are using Processmaker 3.2-community edition. I have a fairly straight forward process where I have a field called Submission_Date in my form. I need to pause the case in the next users paused items until such time as the Submission_Date arrives. I have used the following trigger to try and pause the task
The second issue is that once unpaued thre are 3 possible routes that the form can take
The form is unpaused on the submission date>
The form is submitted early
The form is submitted late.
Depending on the relative date the form would take one of three different routes.
I'm sure that the solution is simple but I just can't see the wood for the trees.
We are using Processmaker 3.2-community edition. I have a fairly straight forward process where I have a field called Submission_Date in my form. I need to pause the case in the next users paused items until such time as the Submission_Date arrives. I have used the following trigger to try and pause the task
Code: Select all
This is based on the example from the pmusers group. I have also included the form that Submission_Date is generated from. if (isset(@@Submission_Date) and !empty(@@Submission_Date)) {
$unpauseDate = date("Y-m-d", strtotime(@@Submission_Date));
var maxpause = PMFPauseCase (@@APPLICATION, @%INDEX, @@USER_LOGGED, $unpauseDate);
die();
The second issue is that once unpaued thre are 3 possible routes that the form can take
The form is unpaused on the submission date>
The form is submitted early
The form is submitted late.
Depending on the relative date the form would take one of three different routes.
I'm sure that the solution is simple but I just can't see the wood for the trees.
Attachments
(15.32 KiB) Downloaded 215 times