Questions and discussion about using ProcessMaker: user interface, running cases & functionality
User avatar
By ashkufaraz
#793117
Hi
There is a way that remove continue page?

User after submit form, case go to next task with out need to click on continue.
Attachments
1.PNG
1.PNG (29.57 KiB) Viewed 3171 times
Last edited by ashkufaraz on Tue Jun 06, 2017 11:39 pm, edited 1 time in total.
User avatar
By amosbatto
#793123
ashkufaraz,

To avoid having to click on the Continue button at the end of a task, create the following trigger, which is set before assignment:
Code: Select all
PMFDerivateCase(@@APPLICATION, @%INDEX, false);
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:
Code: Select all
$caseId = @@APPLICATION;
$nextIndex = @%INDEX + 1;
$sql = "SELECT * FROM APP_DELEGATION WHERE APP_UID='$caseId' AND DEL_INDEX='$nextIndex'";
$result = executeQuery($sql);
if (empty($result)) {
   throw new Exception("No task delegation with index $nextIndex in the database.");
}
//if the same user is assigned to the next task then jump directly to the next task:
if ($result[1]['USR_UID'] == @@USER_LOGGED) {
   G::header("Location:cases_Open?APP_UID=$caseId&DEL_INDEX=$nextIndex&action=draft");
   die();
}

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

Experience heightened pleasure with Cenforce 100 M[…]

Get an instant solution to move emails to MBOX for[…]

Most Demanding OST to PST Converter

The most demanding OST to PST Converter is TrijaT[…]