"[Subject]='subjectline'" not working in filter option

Hi All,

I am not able to read mail with “[Subject]=‘UTIO’” used in get outlook filter option,
My Subject is “Printer UTIO disabled” need to read only mails which contains UTI name from top 5 unread mails, its not working



  1. use Get Outlook mail message to read mails from outlook and store result in list.
  2. Then iterate it using for each activity
    ForEach item in MailMessge
    If item.subject.contains(“UTI”)
    Then process
    Else skip.

I have used iteration, my issue is in my mail box i have different printer name like EL ZT etc, if my inbox contains unread mail for both EL and UTI, i need to read only UTI subject mail by keeping EL subject mail unread. In get Outlook if i give unread top 5 then my EL subject also mark as read. thats y i am using filter option to read only UTI printer

Hi @NagaSujitha

get outlook mail activities in filter properites use the below mention code

@SQL= (urn:schemas:httpmail:subject Like ‘UTIO’ )


Please download attached workflow which contains email validation as well as Subject validation.

Extract Email.xaml (11.0 KB)

Let me know if it helped

Hi Rahul,
I am unable to open workflow, can u send the entire folder