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.