Condition not valid COMException Outlook Move Mail

I am trying to filter emails prior to moving them to a folder.
As far as I can tell it is failing on the filter in the Get outlook mail messages activity.
What should the filter look like. Should it be: “from: ‘Nigel Barrett’”
I have tried the same but with double quotes throughout.
The exception goes:
Source: Get outlook mail messages
Message: Condition not valid
Exception type: COMException

Any ideas?

1 Like

Hi,

Change your filter text to “[from]= ‘Nigel Barrett’”

1 Like

Thanks, that worked.
Is it possible to have two conditions?
I just tried adding [subject]= but it did not like that.

Sorted that one myself with an ‘and’
Thanks again.

1 Like