replied on September 9, 2020
Do you need the token itself to format the HTML, or just have some HTML on your page that holds some values that you are going to pass to it?
In the first case, you could try passing the HTML to a variable in your business process, then using JavaScript to append it to a parent node in the DOM:
$(document).ready(function() {
const parentNode = $('selector for the node you will attach your html to here');
const newElement = document.createElement('div');
newElement.innerHTML = $('selector for the field which holds your html here').val();
parentNode.append(newElement);
});
If you just need to pass values to static HTML, you can set variables in your HTML like this:
<div class="text-wrapper">
<div class="top-text">
{/dataset/employeeName}
</div>
<div class="top-text">
{/dataset/employeeId}
</div>
</div>