Questions and discussion about using ProcessMaker: user interface, running cases & functionality
By allanrp1
#814039
Hi.
I'm trying to do a web entry and next to it a script task, but when i submit the web entry a have this error:
Code: Select all
Cannot use [] for reading
This web entry should be regenerated, please contact to your system administrator.
I think it is because the script doesn't have anything assigned to it, probably a bug.
User avatar
By amosbatto
#814053
The first task in a process can't be a script task. You can set a trigger to execute when a new case is created in the properties of the process, but that trigger won't have access to the data filled in by the web entry.

The other option is to add your trigger code to the web entry's XXXXXXXPost.php file:
<INSTALL-DIRECTORY>/shared/sites/<WORKSPACE>/public/<PROCESS-UID>/<STARTING-EVENT-UID>Post.php

See these examples:
viewtopic.php?f=41&t=713347
viewtopic.php?f=41&t=713225&p=794554&hi ... hp#p794554

An OpenSea clone script provides entrepreneurs wit[…]

A BC.Game Clone Script provides an investor with a[…]

Yes, Pain O Soma 500 can indeed help treat muscl[…]

VCCL is a leading web hosting service provider, re[…]