Question

4
Replies
215
Views
Prashant_Jain Member since 2013 2 posts
Incessant Technologies
Posted: 3 years ago
Last activity: 3 years 5 months ago
Closed

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
Share this page LinkedIn