Hi wm experts,
I am looking to fetch the content of the email body from email sent to wM.
I followed the steps and I am able to get the details in pub.flow:getTransportInfo.
However when I try to get the body I am getting error
Steps I followed :
- created the port
- created the service as below
pub.flow:gettransportInfo
pub.flow:savepipeline
pub.flow:restorepipeline
pub.mime:createMimeData
pub.mime:getBodyPartContent
pub.io.streamtoString
I am getting the error at step (createMimeData)
I donot get the body of the email under (email/content).
All i get is java.io.ByteArrayInputStream.
When i map from the email/content to object(input) i get the error as com.wm.app.b2b.server.ServiceException: [ISS.0086.9030] input must be an InputStream
Request your help on this.
Thanks