Skip to Content
0
May 31, 2018 at 09:31 AM

sap pi processAttachment udf function error

68 Views

HI Team ,

We are facing some issues with the ProcessAttachment UDF Function , please some one help me to resolve the code and make it working , PFB Code

public void processAttachment(String[] content, String[] contentType, ResultList result, Container container) throws StreamTransformationException{ if (!nullOrEmptyArray(content)) { String cid = AttachmentUtil.readAttachmentHexContent(content,contentType[0],container); result.addValue(cid); }