I have a file that is a report. I want to read the file into BizTalk and map the schema to another format while while parsing out any erroneous values for fields. When I parse these values, I would like to log them in a second message to be sent as an Error Output.
So I would like to:
Receive One Message
Send Two Messages
One send message is a "cleaned" and validated copy, while the other is a message log of those erroneous values.
I was hoping that someone could help me with how I would set up the Orchestration and/or Mapping. I am not sure on how to transform the original message twice. Any help is appreciated. Thanks!
Edit: I am thinking of trying to rename the source file instead of deleting it and then reading it in again (and then deleting), having each receive transform and send a message, but I feel like there is a better way still.