ProcessMaker code contributions

Moderator: amosbatto

User avatar
By amosbatto
#824328
Use this trigger:
Code: Select all
$sql = "SELECT CLIENT_NAME AS clientName, CLIENT_PHONE AS clientPhone FROM PMT_CLIENTS";
@=clientsGrid = executeQuery($sql);

Then, put this in the HTML code of your Output Document template:
Code: Select all
<table><tbody>
<tr><th>Client Name</th><th>Client Phone</th></tr>
<!-- @>clientsGrid -->
<tr><td>@#clientName</td><td>@#clientPhone</td></tr>
<!-- @<clientsGrid -->
</tbody></table>
Make sure that you click on the "HTML" button to get the code.
Cannot upload CSV

Hi, I am using a multi-file upload. When I upload[…]

A Beginner's Guide for ProcessMaker

I recently completed a book on ProcessMaker - &q[…]

Hi guys. I am a newbie. I don't know how to upgrad[…]

HI Thanks so much! This is just what I need.