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

🚀 Kaçırmayın! Dinamik kripto endüstris[…]

Are you thinking of joining the exciting world of […]

I started betting on sports at https://ggbet.co.uk[…]

As an NFT enthusiast looking to develop your own N[…]