Posted: 16 Jan 2018 16:24 EST Last activity: 6 Nov 2018 20:02 EST
Looping through all the items in Outlook inbox
I want to process all the e-mail items in the inbox when I receive an email with a particular subject.I can start the automation when I receive the email.But I couldn't find a way to loop through the items in the inbox.Is the class for the Outlook inbox available in Pega Robotics?How to implement this?
This is a little tricky, but it is actually rather simple. Use the RetrieveEmail method of the Outlook Connector. It returns all the mail items in a given folder. I was unable to get this working using a ListLoop, however a forLoop will work in conjunction with the GetItem method of the collection just as well.