Hello, I am attempting to get outlook email messages and filtering based on categories so that the only emails that get read are the ones with categories. However I need to filter with 25 categories and UiPath only allows 20 before you error out. Is there a way to filter on the categories with something like [Categories] IS NOT NULL type of solution?
Create a DataTable with columns like Subject, Body, Sender, ReceivedTime, and Categories.
In the Filter property, use an empty string or a basic filter that retrieves all the emails you need.
Use the For Each activity to iterate through each retrieved email and use Add Data Row activity to add the data (e.g., Subject, Body, Sender, ReceivedTime, Categories) to the datatable.
Use filter activity to filter the categories on the datatable after for each.
Thank you for this. I have implemented this, but for some reason the filter activity is getting the categories and blanks when I just want the categories