I want to use SplitContent to split the PDF binary from a multipart SOAP message. I can see SplitContent generates 2 child flowfiles from data provenance. How can I access the specific child flowfile containing the PDF binary?
I tried the ExtractText with regex (%PDF-.*%%EOF) to extract the PDF binary. But after extraction, the binary contains a lot of '?' which corrupted the file. Any idea?