How to put multiple conditions in the Flow Decision activity?

Inside the Flow Decision condition, if I write one condition like this ==>
mails.Where(Function(s) s.Subject.Contains(“Trigger”)).Any to check the subject of the email I get a boolean output and the flow is working fine.

But in case of multiple conditions like this ==>
(mails.Where(Function(s) s.Sender.Address.Contains("mymail@gmail.com")).Any) && (mails.Where(Function(s) s.Subject.Contains(“Trigger”)).Any) I am getting an error.

Please help!!

Use AND instead of &&.

1 Like

Thanks a ton @evangemert It worked now.
Can you please tell what kind of code syntax is this? How to know what expression to use which writing such conditions?

Good to hear you got it working :slight_smile:

The syntax used is from Visual Basic.