Close popover
Prashant Jain (Prashant_Jain)
Incessant Technologies
Technical Lead
Incessant Technologies
Prashant_Jain Member since 2013 2 posts
Incessant Technologies
Posted: April 21, 2017
Last activity: May 17, 2017

Upload Document Service is failing because of white spaces occuring by "pySaveFileContent" Pega OOTB activity in the DOCUMENT-CONTENT field (typically get from "pyAttachStream" field from Data-WorkAttach-File)

In our Connect-HTTP Upload document service, we have a field called DOCUMENT-CONTENT, which takes document content streame in Base64 encoded format. We need to pass the attach document stream to the DOCUMENT-CONTENT field to store the document.

For that we are using "pySaveFileContent" Pega OOTB activity to capture the content of the document and passing it to service. But the problem is with the Pega OOTB activity from which we get the document content stream in property of "pyAttachStream" with white spaces/invalid form and truncated Document stream. Due to invalid content and white spaces the Upload Document service is getting failed.

Can someone please assist?

Data Integration
Moderation Team has archived post