Hi there,
Struggling to get my expression to work for this one. Any ideas?
Essentially, I have a variable 'contact type' which stores a text value and a compose which counts the number of rows from a list rows function.
If the value of the compose action is 1 or more, and contact type DOES NOT equal student OR teacher I need the value to return as true
if(
and(
equals(outputs('Compose_-_ABC_coms_memberships'), 1),
or(
not(contains(variables('contact type'), 'teacher')),
not(contains(variables('contact type'), 'student'))
)
),
true,
false
)