But as you can see I have a query parameter configured. So my understanding is, that I’m querying through 50 top bot read and unread mails and want to retrieve the emails that comply to the query parameter.
Is there more than 6 mail in Sent Items? If so, the query is working and probably you have more than 2 mails that Subject contains your str_MailSubject variable value.
First it will get all the mails that satisfy the condition of the subject…and then it gets the top 50 mails of it…I believe may be in older emails you have some emails matching the subject so it is getting 6 as only 6 are matching
It is not like only from top 50 it tries to search for filter…but it is other way round
There are more than 6 mails in the Sent Items folder. I have only 2 mails with the subject that I am searching for.
My requirement worked correctly with the Get Outlook Mail Messages activity. Maybe it would be more reasonable to replace Microsoft Office 365 Scope Get Mail activity with the Get Outlook Mail Message? Will it work for shared mailboxes?