Question
1
Replies
73
Views
Posted: January 20, 2020
Last activity: January 28, 2020
How to check content of attachmentin Pega REST reqeust
We created an activity to send attachment in REST. All attachment values are appending to pyRequestAttachmentPage page.
Is there any way to check the attachment in request payload? We can see request payload in logs but we are unable to see those tags in request.
We have a requirement to send email via external system. All the emails along with attachments sends via this system. But external system is unable to get attachment values from the request. Under which element does the attachment content send in request?
Is this part of request body or does it sends under different element?
It’s not possible to find these binary attachment values in log files as well. I enabled following log events, but attachment values are not visible
com.pega.pegarules.integration.engine.internal.JSONMappingUtils
com.pega.pegarules.integration.engine.internal.ServiceMappingUtils
Rule_Obj_Activity.Invoke.Rule_Connect_REST.Action
Rule_Obj_Activity.pyInvokeRESTConnector.Rule_Connect_REST.Action
com.pega.pegarules.integration.engine.internal.connect.rest.RESTConnector