1.2k questions

1.4k answers

361 comments

339 users

Categories

Sidebar
0 votes
497 views
by lewis-s-9714 (1.0k points)
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?

1 Answer

+1 vote
 
Best answer
Currently you have 3 options:

1. Is there a way to fix the message before it errors and deal with it.

2. Manually resolve it after you disable the source node and disconnect the destination you do not want it to resend to.

3. Create another channel for that destination and send the message to that channel. If it errors out then when you resolve it is now a separate message in the channel with only that one destination.
by brandon-w-8204 (34.1k points)
selected by lewis-s-9714
...