Question

2
Replies
3881
Views
Will Cho (Will Cho)
PEGA
Principal System Architect
Pegasystems
US
Will Cho Member since 2008 107 posts
PEGA
Posted: February 23, 2018
Last activity: February 28, 2018
Posted: 23 Feb 2018 8:34 EST
Last activity: 28 Feb 2018 15:30 EST
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, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.