NovuN
Novu2y ago
fyeung

Referencing step count in email layout

I am trying to conditionally show some elements based on step count (i.e. show different things when it is a digest message). It works fine when i do it on a workflow level, but it doesn't seem to be working as expected on a layout level. Is this expected as a limitation of layouts, or am I doing something incorrect? Example of what I am doing below. Thanks

{{#equals step.total_count 1}} Just a single step {{else}} More than one step {{/equals}}
Was this page helpful?