Columns:
Status (Choice, single select)
Location (Choice, multi‑select) — internal name confirmed
Scenario
I’m recreating legacy SharePoint alerts for a user, where Rules are not specific enough. The alert should fire when:
Status = Active, and
Location contains “Acme” (multi‑select Choice).
- The internal name of the Location column is confirmed as Location.
- The trigger fires normally when I remove all conditions, so the List, Site, and Trigger are correct.
- Expressions assuming Location is an array of objects with .Value
- @contains(triggerOutputs()?['body/Location/Value'], 'Acme')
- Expressions assuming Location is an array of strings
- @contains(triggerOutputs()?['body/Location'], 'Acme')
- Null‑safe expressions using coalesce(...)
- @contains(coalesce(triggerOutputs()?['body/Location'], json('[]')), 'Acme')
- join‑based and set‑logic patterns
- @contains(join(coalesce(triggerOutputs()?['body/Location'], json('[]')), ','), 'Acme')
- @greater(length(intersection(coalesce(triggerOutputs()?['body/Location'], json('[]')), array('Acme'))), 0)
- The template language function 'join' expects its first parameter to be an array. The provided value is of type 'Null'.
- The template language function 'contains' expects an array or string. The provided value is of type 'Null'.
- TemplateValidationError: The flow's trigger condition is not a valid template language expression.

Report
All responses (
Answers (