infor.com
concierge
infor u
developer portal
documentation central
customer center
Posts
Categories
Groups
ERPs
CSD
FSM/HRT
LN
M3
Syteline/ CSI
Hubs
Developer
Healthcare
Hospitality
Public Sector
Onboarding
Release Center
CloudSuites
Aerospace & Defense (LN)
Automotive (LN)
Chemicals (M3)
Corporate (FSM/HRT)
Distribution (Sx.e/CSD)
Distribution Enterprise (M3)
Engineering & Construction (LN)
Fashion (M3)
Food & Beverage (M3)
Healthcare (FSM/HRT)
Industrial (Syteline/CSI)
Industrial Enterprise (LN)
Manufacturing (M3)
Public Sector (FSM/HRT)
Solutions
Supply Chain Management (SCM)
Human Capital Management (HCM)
Events
Groups
User Groups
Your Groups
About
Email Community Support
Infor News
Migrated Forums
Home
Clovertech
Clovertech Archive
Read Only Archives
Cloverleaf
Cloverleaf
Cleanly Killing Unwanted Events
Max Drown
What is the generally accepted best practice for efficiently killing unwanted HL7 event types?
For example, say a particular inbound interface gets ADT and ORM. There are routes for the various ADTs, and you just want to kill all the ORM events without getting errors and entries unto the error database.
Find more posts tagged with
Clovertech
Comments
Jim Kosloskey
Max,
What I do is to route the unwanted Message/Event Types to the inbound thread raw (sounds weird but you can do it) and deploy hcitpsmsgkill on the route. The messages get killed.
Doing the routing tells me at a glance in a number of IDE locations that this inbound can provide the currently unwanted messages.
There are other ways to do this as well.
Jim Kosloskey
Max Drown
That's what I thought. Screenshot attached showing the way I have it setup.
I still get trxid errors for the ORM's (5 101-Unsupported Trxid).
MSH|^~&|MS4OC|100|CLOVERLEAF|100|20080427210214||ORM^O01|00000000017114045|P|2.3x0dPID|...
Max Drown
Even after changing the destination to itself, I still get the trxID errors in the error db for the ORM's.
jcobane1
Max,
You need to add a route for the ORM TrxID; the 'static route' is not going to handle the ORM for you. Simply add another route for the ORM and utilize the hcitpsmsgkill as you have defined on your static route. You can use any thread as the destination, including itself.
Jim Cobane
Henry Ford Health
Max Drown
Out of curiosity, why doesn't the static route capture the ORM's?
jcobane1
Static route processes all messages the same way, regardless of their transaction ID; it essentially doesn't care about TrxID determination. Since you are also routing based upon a TrxID, you need to account for any TrxID that may come in. You could also add a wildcard TrxID, and define the TrxID as .* (with the hcitpsmsgkill); this would catch everything. But, you may not want to do that if you want to be made aware of unexpected TrxID values coming in.
Jim Cobane
Henry Ford Health
Max Drown
That is very good to know. Thank you.