I’m working on StudioX. I want to move emails with Subject “Test Email” to an Outlook folder but getting an error.
I did the following:
- Selected Outlook resource
- Selected my own account name from dropdown
- Selected For Each email, for each Current email from Inbox, limited to 50 email. Unread email unchecked
- Added If Activity with Condition ‘Current Email’ contains ‘Test Email’ then Added Move Outlook Email activity, from Current Email to Inbox\MyTest folder. Else, Write line “No email found”.
It runs but throws an error “Object Reference not set to an instance of an object”. This error is shown at Move Outlook Email step.