Digest Email Workflow test not showing step events -
Hi guys, thanks for help ahead of time.
In my custom code for the email, I have: <p>You subscribed to be notified when an article or intelligence report is published with a particular tag.</p> <p> {{#each step.events}} <p>{{docType}} published with tag: {{subTag}} - <a href={{urlRef}}>{{linkTitle}}</a></p> {{/each}} </p> and am passing an array of 2 with each of those example variables on test, like so: { "urlRef": "https://xxxxxxxx/intelligence/reports/25164", "linkTitle": "BioE OCV-S", "docType": "intelligence report", "subTag": "OCV" } . When I test it, I receive the email, but no list of the step.events. Yes, I know the url is not correct, it's for security.
In my custom code for the email, I have: <p>You subscribed to be notified when an article or intelligence report is published with a particular tag.</p> <p> {{#each step.events}} <p>{{docType}} published with tag: {{subTag}} - <a href={{urlRef}}>{{linkTitle}}</a></p> {{/each}} </p> and am passing an array of 2 with each of those example variables on test, like so: { "urlRef": "https://xxxxxxxx/intelligence/reports/25164", "linkTitle": "BioE OCV-S", "docType": "intelligence report", "subTag": "OCV" } . When I test it, I receive the email, but no list of the step.events. Yes, I know the url is not correct, it's for security.
7 Replies
in case it's important, using the web interface - not doing any integration yet.
Hi Tim
I tried to reproduce the issue with payload you mentioned. Are you sending payload lke this?
This is the email I received on triggering the workflow 4 times with above payload variables
Hi @Tim Anderson , do you mean you are using the test from the email editor?
If so, take a look here https://discord.com/channels/895029566685462578/1133394482239381586/1133678146013642812
This is where I'm putting the array -
@Tim Anderson
Thanks for sharing
Could you please trigger the workflow?
I figured it out, Pawan - I was putting the variables in the wrong spot 🙂 Thanks for the example