I've seen a couple of posts on this subject but I just can't get it to work. Basically I want to add an if statement along the lines of:
IF Created Date = Modifed Date OR (Document Type is not blank AND Date is not blank AND reference is not blank)
In Flow I've added the following expression in the condition step:
@or(
equals(triggerBody()?['Created'], triggerBody()?['Modified']),
and(
not(empty(triggerBody()?['Document_x0020_Type'])),
not(empty(triggerBody()?['Date_x0020_of_x0020_Work'])),
not(empty(triggerBody()?['Property_x0020_Reference']))
)
)
However, this doesn't work and items that should pass this test aren't. Am I using the correct syntax?
I'd be grateful for any assistance anyone can give.
Thanks in advance.