Immacolata Colella (ImmacolataC)
Atos Italia

Atos Italia
ImmacolataC Member since 2019 1 post
Atos Italia
Posted: 3 weeks ago
Last activity: 3 weeks ago
Posted: 8 Jul 2021 6:02 EDT
Last activity: 8 Jul 2021 6:34 EDT

How to read an email attachment by an email listner

Hi all,

I have the following requirement:

  • Create an email listener that read on an email account
  • Elaborate the CSV attachment and, from all record in the CSV, create a work object

I've already created the email listner and I'm able to see that there is the attachment by the pyAttachmentPage (I've also tracked it and it works). Now I need to open this file and elaborate it. I see this page contains the value list pyAttachValues that should contain the attacchment value, but it appears to me as a very long string. How can I resolve this string to the correct structure I receive in the email?


Thanks a lot.

**Edited by Moderator: Pooja Gadige to move from Pega Academy to Product, change content format from Discussion to Question***
Pega Platform Data Integration Technology Services Senior System Architect