How to filter outlook messages by email folder name and email content in Filter property

Instead of for each loop, is there any way we can filter outlook messages by email folder name and email content in filter property. Also instead of passing folder name parameter in MailFolder property, i wanted to use that in filter property

I have tried the below , but it doesn’t work

“@SQL=urn:schemas:httpmail:textdescription like ‘%test%’ and urn:schemas:httpmail:foldername like ‘%Inbox\TestFolder%’

Please Advise!!

Hey @sheela.gulfy just a small question, is there any specific reason for you to use the folder name in filter property only?

@sheela.gulfy - Did you received any error? If so, could you please post it here…

No Specific reason, just wanted to give a try

Not receiving any error, simply the execution is getting ended and not printing outputs

@sheela.gulfy - did you use for each after using the filtered mails?

Please share a screen shot of your workflow.

Please take a look at the screen shot