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
kill message in translation / suppress
Stewart
In reviewing the cloverleaf documentation related translations it states that suppress will transmit the message. I had a translation that sent a duplicate message when I had set it be suppressed. What's the best way to kill the message if you don't want it to be sent?
Find more posts tagged with
Clovertech
Comments
Paul Bishop
To me, the wording in the documentation is confusing. SUPPRESS in a translate will prevent the message from going beyond the translation process. It will still process the message through the translate so any coding you have will still be done (an email for example), but the message will not be sent to the output after the translate.
To prevent a message from being translated, you can use a proc in either the Inbound/TPS Inbound Data UPOC which prevents the message from getting to any routing, or you can use Pre Procs UPOC on the Xlate routing setup which will be only for that particular route.
Jim Kosloskey
The way I like to use SUPPRESS to filter messages is to use an IF with ELSE Action:
IF <cond>
SUPPRESS
ELSE
Build the OB message...
This way the Xlate tokenizes the OB message but does not populate anything IF the filter condition is true.
If you are receiving duplicate OB messages, then I suspect you have a CONTINUE or SEND Action being executed.
I had a situation where the requirement was to do a lot of filtering and it was required to be in Xlate. In that case I used specific Xlate(s) for filtering, named them appropriately so one could tell which Xlates filtered and chained them in front of the Xlates which were needed to build unfiltered messages.
That worked quite well. I did not detect any significant performance issues.
Charlie Bursell
Why would you want to incur the overhead of translation if you will KILL the message within the Xlate? Translation is the long pole in the overall message processing path. As Paul said, write a filter pre-proc and kill before Xlate. There are probably exceptions, but will be rare.
System
Originally posted by Matthew Brophy
Just another perspective, IF you're receiving
multiple
messages from an xlate it is likely because you're using CONTINUE off an iterate.
If you are qualifying a message off of values within a repeating group/segment (which would be difficult from a pre-proc), then you could use a garbage variable such as "
@sendFlag"
. Populate
@sendFlag
with NO before the iterate. Populate the variable with something else (YES) if the condition is met. Then CONTINUE if that variable is not NO. This way you will only have a true or false condition rather than multiple CONTINUES of a message within an iterate.