Questions and discussion about developing processes and programming in PHP, JavaScript, web services & REST API.
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
#824374
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
#824386
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> ".@@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:
@#clientSection
What's SAP FICO?

Embarking on a dissertation can be one of the most[…]

Hello. For rental housing, there are software solu[…]

Experience heightened pleasure with Cenforce 100 M[…]

Get an instant solution to move emails to MBOX for[…]