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.

To switch from PST to MBOX quickly and effectively[…]

NFT (Non-Fungible Token) marketplaces have witness[…]

AMP Review South Jersey - OkThumb

AMP Review South Jersey functions as the forum s[…]

An NFT marketplace development company specializes[…]