How to filter outlook message by Flag

Hi, guys

I’d like to filter outlook messages that are not flagged as “Mark Complete” but I don’t know how to make that happen. I’ve seen many posts here about filtering messages by subject, body, date and etc. Is there any way to filter by flag using Get Outlook Mail Messages Activity?

Thanks in advance!

Hi @Dandan

Check this :point_down:

1 Like

Thank you for your reply. I checked that post and another post linked to it , but still no found of solution to my problem.
Sorry for not describing specifically. I am looking for a way to filter “Follow Up” flag instead of “Importance” flag. But it seems that there’s no direct way to do this except by recorder or custom code/activity which I have no clue. :sob:

@Dandan

Try this :point_down:

@mz3bel Thanks. The code is for sending mail messages. I’d like to get mail messages by filtering the “follow up” flag. But still thank you for your kind reply. I will keep trying and let you know if I figured out :smiley:

1 Like

Hey @Dandan

There is a way :slight_smile:

you can filter outlook mail by using DASL Query :slight_smile:

Please find below sample as per your need :slight_smile:

hope it will help you.

it will returned all pending followup item or red flag mail items.
if you wanna read unread follow up mail items then just check unread property along with filter query i have used.

Get Outlook Mails having a flag = Follow Up- Aksh.xaml (5.9 KB)

Regards…!!
Aksh

1 Like

@aksh1yadav
Hi, Aksh, Awesome! Thank you so much~ Will try later and see if it works

Dandan

Hey @Dandan

It should :slight_smile: don’t worry :slight_smile:

lemme know :slight_smile:

Regards…!!
Aksh

Hey @aksh1yadav

It works! I got all the emails I need. Thank you, Aksh!

Best regards,
Dandan

Hey @Dandan

No worries… mate :slight_smile:
Here always to help and to learn :slight_smile:

Regards…!!
Aksh

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