I have HL7 messages being sent through 2 separate paths with different end points. One of the end points occasionally gets an error that needs to be manually resolved. When that happens, the message is re-sent to the other end point as well, giving us duplicates. I'm trying to find a way to check the message dynamically to see if it already processed a branch successfully so it doesn't do it again.
The trouble I'm having is that any changes done to the message are reset, so I can't just add a value to check. I see errorManager has "hasParent" but that is only available in scheduled scripts. Do I have other options?