I have a Microsoft Flow which triggers whenever a sharepoint list item is updated. I wanted to add a trigger condition such that the flow should not trigger IF a specific user updates the sharepoint item.
I found 2 below expressions from multiple sources online, but both doesn't seem to work.
- not(equals(triggerBody()?['Editor']?['Email'], 'my-email-id'))
- not(equals(triggerOutputs()?['body/Editor/Email'],'my-email-id'))
both the above expressions throws below error when I try to save my flow:
ERROR:
The power flow's logic app flow template was invalid. The template condition expression 'not(equals(triggerOutputs()?['body/Editor/Email'],'my-email-id'))' at line '1' and column '9858' is not valid template language expression.
Can someone please help me fix this expression? :)