I have a simple automation:
Trigger is scheduled daily.
I have a broad lookup for issues updated yesterday.
Lastly I have an email with 2 tables of issues in the lookup, but I'm filtering with the #if function for each table. (Table specifics removed since it works as expected).
Table 1: {{#lookupIssues}}{{#if(equals(customfield_12345.value, "Yes"))}}
Table 2: {{#lookupIssues}}{{#if(equals(customfield_12345.value, "No"))}}The tables/list work perfectly, however I'm running into a challenge with combining the #if and a #count by following the Automation documentation (as best as I could...)
Total: {{#lookupIssues}}{{#if(equals(customfield_12345.value, "Yes"))}}{{#=}}{{count}}+1{{/}}{{/}}{{/}} What I end up with is "11111" rather than "5"