Question

18
Views
Vipin Keshri (VipinK17)
Accenture LLP
Lead System Architect
Accenture LLP
IN
VipinK17 Member since 2013 17 posts
Accenture LLP
Posted: March 15, 2021
Last activity: March 15, 2021
Posted: 15 Mar 2021 17:16 EDT
Last activity: 15 Mar 2021 17:19 EDT

How to configure and test REST connector that supports multi-part binary attachments

Does anyone have any experience working on REST connector with Content-Type: multipart/form-data that can be used to send documents using POST. We have tried per Pega articles and discussion threads (mentioned below) and set the top level page pyRequestAttachmentPage with 4 properties but cant figure out a way to test or trace the attachment part. Any help on how can be debug or trace the document stream and content from Pega will be very helpful. We are using Pega 7.2.2. When checking Pega OOTB rule pyInvokeRESTConnector, it is using the PublicAPI pyInvoke so cant put some logger or output to console. In previous versions the same was written using Java steps in the activity, so we could have tried to intercept the payload and print the content int he console. Any help is much appreciated.

https://collaborate.pega.com/question/need-help-implementing-connect-rest-post-method-sending-document

https://collaborate.pega.com/question/sending-rest-call-attachment

Pega Platform 7.2.2 Data Integration Java and Activities Technology Services Healthcare and Life Sciences Lead System Architect Senior System Architect