Questions and discussion about using ProcessMaker: user interface, running cases & functionality
By hmxDavid
#813884
Hello again. Hope you could lend a hand on my problem.

Currently, I have a Task with Dynaform Steps on it that collects user input data. Although I have placed or marked the Textbox as Required but it never stops my users from skipping that step via Steps button on the upper left corner and then selecting the last step. Thus, users can circumvent some steps and may not provide the necessary information.

I was thinking of creating a trigger in the last or on the routing step that will prevent the user in routing to another task if the information is not provided. However, I can't find a solution on how to do this. Something like a trigger that would route back the user to a particular Dynaform step on the current task.

Hope you could help.

Thanks
#813886
You can use PMFRedirectToStep() to redirect to the DynaForm which the user didn't fill out like this in a trigger:
Code: Select all
if (empty(@@myfield)) {
   $dynaformId = '1234567890abcdef1234567890abcdef';
   PMFRedirectToStep(@@APPLICATION, @%INDEX, 'DYNAFORM', $dynaformId);
}
Set this trigger to fire before assignment in the same task where the Dynaform is a step.

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[…]