This content has been marked as final. Show 2 replies
This was a simple issue of parameter type mismatch. I had a generic entry process (for re-use) which caters to different operations based on input type. One of the inputs happened to be inputDocumentMap. One subprocess expected the map to be of string subtype. Since i was re-using the same parameter for calling my assembler subprocess it was sending the map of documents as string and not as 'documents'.
This resulted in the bytearray or stringified PDF content or you can call it us junk :-).
This is the reason why the word to PDF process was getting called as mentioned in my previous post eventhough both the files were PDF.