Question

2
Replies
146
Views
Close popover
Bill Chan (BillC931)
Atesis Pty Ltd

Atesis Pty Ltd
AU
BillC931 Member since 2017 3 posts
Atesis Pty Ltd
Posted: May 27, 2018
Last activity: May 30, 2018
Closed

HTTP Connect - Attachment not in pyResponseAttachmentPage

Hi,

I have defined a HTTP Connect that accesses a URL endpoint (which is a URL to a pdf document). I created an activity that calls the HTTP Connect. When I run the activity and trace it, the tracer shows that the step Method Connect-HTTP has a pyHTTPResponseCode of 200. However, when I look at the Clipboard, the pyResponseAttachmentPage does not contain any pyAttachValues. Am I missing something?

According to the Pega documentation:

To process attachments that have been received as part of a connector response message, configure your connector activity to look for a top-level clipboard page named pyResponseAttachmentPage of type Data-ServiceMessage after the connector has been invoked. If the page exists, any attachments that were received appear as Base64-encoded values in the pyAttachValues value list property on the page. The typical use case is to iterate over the list of attachments and associate them with a work object.

Data Integration
Moderation Team has archived post