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.
User avatar
By avanzyl
I have an actions by process, whereby some forms are skipped based on information given in the generate form. An output document is then generated at the end of the process, however I would not like to include the forms that were skipped in this output document.

Any help on this would be much appreciated.
User avatar
By amosbatto
Add a trigger to your process which will define variables to insert in your Output Document, which contain the HTML code containing the variables that may have been skipped in your process.

For example:
Code: Select all
@@clientSection = '';
//check whether a variable that may have been skipped has been filled:
if (!empty(@@clientName) ) {
   @@clientSection = "<p><b>Client Name:</b> "[email protected]@clientName."<br>\n".
       "<b>Client Phone:</b> ". @@clientPhone ."<br>\n".
       "<b>Client Email:</b> ". @@clientEmail ."</p>\n";   
Set the above trigger to fire before the Output Document (or any prior point in the process).

Then, place the following line in your Output Document template:
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[…]