Question

2
Replies
2673
Views
Will Cho Member since 2008 90 posts
PEGA
Posted: 2 years ago
Last activity: 2 years 6 months ago
Closed
Solved

Convert PDF stream to byte[]

Hi, I'm getting this exception when calling ConcatenateEForms.

com.pega.pegarules.pub.PRRuntimeException: Object at index #2 was not an byte[].

Basically, index #2 contains a PDF file stream (converted from Word stream). See attached.

Perhaps, this is not a byte[] format? If so, how can I convert PDF stream into byte[] so that I can combine multiple PDFs together using ConcatenateEForms?

Thanks in advance,

Will

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