Trigger workflow/change variable value from link in text

Hi, you’re not too far of the solution, here mine

You can create your workflow, get its UID and call it in your HTML by using our wwLib.executeWorkflow, you can even give some parameters to your workflow to be able to identify the source of the link if you want to reuse it for multiple links in the same text but need to know what has been clicked

Link A : <a onclick="wwLib.executeWorkflow('2a145a9b-9ae4-4425-9ca6-da03c73eb8a7', {myParam: 'Link A'})">Execute Workflow</a>
Link B : <a onclick="wwLib.executeWorkflow('2a145a9b-9ae4-4425-9ca6-da03c73eb8a7', {myParam: 'Link B'})">Execute Workflow</a>
1 Like