BimleshS Member since 2019 3 posts
Bank Of America
Posted: 1 year ago
Last activity: 1 year ago

Blank Documents retrieved after decoding using Java Code/Base64Decode function

Hi Team,

We are receiving the document from external system in Base64 format. I am trying to use Java code to decode base64 to binary and then AttachToWork activity to attach the document to work Object, Documents are getting attached without content. PFB for the Java code:

String s = tools.getParamValue("Markup").toString(); //markup is the base64 encoded string

byte[] byteArray = new;


Also I have tried base64Decode, but still documents without content are being attached to WorkObject. Do I need to use pyAttachmentContent property? as of now I am storing the base64Stream from external system in property of type Text.

Requirement is : External system sends the base64 stream, We need to share the document to user after decoding using Connect-SOAP.

Please note: There is no issue at external system. they are sending extpected base64 stream.

Data Integration Java and Activities Data Integration
Moderation Team has archived post
Share this page LinkedIn