Question

2
Replies
192
Views
Rob_Jago Member since 2015 41 posts
Rulesware
Posted: September 27, 2018
Last activity: September 28, 2018
Closed
Solved

FileListener, Parse-Structured, unable to attach PDF to new case

Hello

Using Pega Platform 7.3.1.

I followed the instructions in this link: https://community1.pega.com/community/product-support/question/parse-pdf-file-pyattachstream-property-base64-using-file-listener

I am able to parse the PDF and have the Data-WorkAttach-File with the correct pyAttachStream.

However, as the parse-Structured logic occurs before the creation of the case object, the pyWorkPage.pzInsKey has not been created and therefore the Link-Objects activity method or the call to Activity Work-.AttachFile does not work because the pyWorkPage (or MyServicePage) does not have the .pzInsKey value. Doing the file listener tracing, the .pzInsKey is not set until well after the Parse-Structured logic is invoked/completed. Can someone provide any guidance on what small thing I am missing?

So I am clear, this is the scenario I would like to happen.

1. PDF is dropped in pick up folder.

2. File Listener is configured to look at that folder.

3. Upon seeing that file, File Listener will create a new case and attach the PDF to that case.

Rob

Low-Code App Development Case Management
Moderation Team has archived post
Share this page LinkedIn