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