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
Cloverleaf
I need help to Split a HL7 message based on ORC segments which is repetitive
System
Originally posted by Raj
Any help with Tcl script to do this will be helpful or how i should be doing this with Xlate.
Thanks
Raj
Find more posts tagged with
Clovertech
Comments
Jim Kosloskey
Place a SUPPRESS Action at the beginning of your Xlate.
ITERATE over the ORC Group. At the end of the ORC logic before the ORC ITERATE ends, issue a CONTINUE Action.
The Xlate will always try to produce a message. Using the CONTINUE you are taking control of when messages will be produced within the Xlate so the SUPPRESS unilaterally executed cause the message the Xlate would produce on its own (in this cas a copy of the last message you CONTINUE) to be SUPPRESSed.
Use a CONTINUE instead of a SEND. The CONTINUE causes each message to pass on to the next processing step in Cloverleaf (post-Xlate), the SEND causes the message to go immediately to the destination thread.
I cover this and more in my Xlate ITERATE Class.
Jim