Scenario: We want to change the content of a Notification, if the notification contains only 1 event (to support pluralisation)
Problem: The following expression is always true, even if there is only 1 event:
{{#if step.digest}} {{uploaderName}} hat {{step.total_count}} neue Dateien in {{step.events.0.folderName}} hochgeladen. {{else}} {{uploaderName}} hat eine neue Datei in {{folderName}} hochgeladen.{{/if}}
{{#if step.digest}} {{uploaderName}} hat {{step.total_count}} neue Dateien in {{step.events.0.folderName}} hochgeladen. {{else}} {{uploaderName}} hat eine neue Datei in {{folderName}} hochgeladen.{{/if}}
We tried also to change the expression to a greater then expression using the step.total_count, but this is not supported on your side. Any idea how we can implement this?