How to send a stream to next Activity using Custom Plugin.
You have to write below code in the custom plugin to send stream read by another activity:
service.write(byte byteArray, "default");
“service” : Service object which is available implicitly to the script.
"default" : This is the name of the output stream.keep this as it is while making process flow make sure you use the default stream only.