“@SQL= ““urn:schemas:httpmail:hasattachment”” = true AND ( ““urn:schemas:httpmail:attachmentfilename”” LIKE ‘%.xlsx’ OR ““urn:schemas:httpmail:attachmentfilename”” LIKE ‘%.xls’ OR ““urn:schemas:httpmail:attachmentfilename”” LIKE ‘%.csv’ ) AND ““urn:schemas:httpmail:category”” = ‘red’”
and as for sure i selected “Only unread” message.
My outlook has just 4 unread message. More over, from those 4 emails i just have one with subject string "ATCP).
So that my results in output pannel should show just 4 returns (3 incorrect and 1correct .). However , i realised that the program is going through all the messages . Please look at the picture below
i would really appreciated if you could help me to find the mistake or reason why it is not working as expected,
Thanks,
Ricardo
Try below URN as well and remove the Only Unread message property
@SQL= "urn:schemas:httpmail:hasattachment" = true
AND ("urn:schemas:httpmail:attachmentfilename" LIKE '%.xlsx' OR "urn:schemas:httpmail:attachmentfilename" LIKE '%.xls' OR "urn:schemas:httpmail:attachmentfilename" LIKE '%.csv')
AND "urn:schemas:httpmail:category" = 'red'
AND "urn:schemas:httpmail:read" = false
"@SQL= ""urn:schemas:httpmail:hasattachment"" = True
And (""urn:schemas:httpmail:attachmentfilename"" Like '%.xlsx' OR ""urn:schemas:httpmail:attachmentfilename"" LIKE '%.xls' OR ""urn:schemas:httpmail:attachmentfilename"" LIKE '%.csv')
And ""urn:schemas:httpmail:category"" = 'red'
And ""urn:schemas:httpmail:read"" = False"
Can you enable now the UnRead message enable maybe it will filter else
You can try on the below as well, place the double quotes where is required
@SQL= "urn:schemas:httpmail:hasattachment" = true
AND ("urn:schemas:httpmail:attachmentfilename" LIKE '%.xlsx' OR "urn:schemas:httpmail:attachmentfilename" LIKE '%.xls' OR "urn:schemas:httpmail:attachmentfilename" LIKE '%.csv')
AND "urn:schemas:httpmail:category" = 'red'
AND NOT "urn:schemas:httpmail:read"