Subject Filtering

Hi! I’m working on a bot that has an email trigger, said trigger starts when receiving an email with a specific subject. Right now as far as testing goes, I have the following expression written in the Filter option of the Get Outlook Mail Messages activity: “[Subject]=‘UiPath Test 123’” and it works, anytime I receive an email with that subject the rest of the bot executes. I’m looking to have string wildcards in the subject name. Meaning, “[Subject]=‘UiPath WILDCARD WILDCARD’”
Any help is highly appreciated :slight_smile:

Have you checked out the documentation? They have several examples of filters that might be useful for you.

E.g. to get all mail messages with the subject starting with “UiPath”:

"@SQL=""urn:schemas:httpmail:subject"" like 'UiPath%'"

Yeah! Appreciate it a lot!

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.