Questions and discussion about developing processes and programming in PHP, JavaScript, web services & REST API.

Moderators: ArturoRobles, ArturoRobles

Forum rules: Please search to see if a question has already asked before creating a new topic. Please don't post the same question in multiple forums.
#825844
Hello,
In the attached workflow, when the user submits the form in “Task 1”, a message and screen are displayed as illustrated in the first attachment, then a script “Update script” is executed and the “Task 2” is created without displaying the “Assign Task/Event” for it.

I would to implement the following need; when the user submits the form of “Task 1”, we hide / bypass the “Assign Task/Event” message for the script that will be executed and then show the “Assign Task/Event” message for “Task 2” as illustrated in the attachment 2.

I used the following code that hides the “Assign Task/Event” for the script but does not show the message for the “TASK 2”:
PMFDerivateCase(@@APPLICATION, @%INDEX);
G::header("Location: casesListExtJsRedirector");
die();

Can you support me with this?

regards
Attachments
attachment 2.png
attachment 2.png (9.65 KiB) Viewed 2645 times
attachment 1.png
attachment 1.png (30.33 KiB) Viewed 2645 times
Workflow.png
Workflow.png (13.7 KiB) Viewed 2645 times
#826513
Hi,

I have another scenario in my process where I should hide the message (please refer to the attached document). suppose I am in in step 1, there are some cases where 1 - both "TASK 3" and "script Task", and two only the script task is only executed.
can you help me in writing the trigger code that i should in "TASK 1" to either hide completely the message or only the one for the script task?

Regards
Attachments
ScriptTask.png
ScriptTask.png (44.11 KiB) Viewed 2285 times
disable value in dropdown

Check box is more helpful rather than drop down op[…]

Timeout Not Sending Email

I would like to thank you for the efforts you have[…]

use 'insert into' in a trigger

Is your syntax correct? Shouldn't you be using s[…]

issue with processmaker 3.2

You mean the code in the trigger below? That is t[…]