AnsweredAssumed Answered

Error in writing streams from Stage Plugin to HCP-AW custom connector

Question asked by Devi Narayanan on Sep 18, 2017
Latest reply on Sep 22, 2017 by Devi Narayanan

I have developed a custom stage plugin and saved final zip file output as stream on the document being processed.

I have used both appendStream() and setStream method to add my final ouput which is  ByteArrayInputStream.

This will act as input to my HCP-AW Connector plugin.
In my HCP-AW connector plugin write action, I am trying to retrieve my stream from stage plugin so that it can be uploaded to HCP Anywhere .In this case , i am trying to retrieve stream using openNamedStream  method from PluginCallback, but its not able to write the stream into HCP Anywhere as the stream is corrupted.


What could be the reason ?