I want to create a workflow who recieve a JSON params, render html template and convert it to PDF. I can use variables on html template but. Can i use conditions as if/else or loops as for/foreach/while?
I want to create a workflow who recieve a JSON params, render html template and convert it to PDF. I can use variables on html template but. Can i use conditions as if/else or loops as for/foreach/while
HTML template uses handlebars or something like this?
<div class="entry">
{{#if author}}
<h1>{{firstName}} {{lastName}}</h1>
{{else}}
<h1>Unknown Author</h1>
{{/if}}
</div>
<ul class="people_list">
{{#each people}}
<li>{{this}}</li>
{{/each}}
</ul>