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

Moderator: amosbatto

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:
Build Cache issue

Hi. I am having an issue that is replicated in a […]

mandatory input document

I want to display alert message using javascript, […]

Change template of reset password

Anyone can help me, Please!

There is no way currently to migrate from version […]