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
General
Delay Sending Messages
vdurst
Hello, I am looking to delay sending A38 for 24 hours.
Situation: In our workflow, the A38 (preadmit cxl) is fires before an S14 (Sched update) so we need to hold/delay A38's for a day.
Thanks in advance!
Find more posts tagged with
Clovertech
Comments
System
Originally posted by Craig Weldy
Van,
There may be more elegant ways to go about this, but in the past what we have done in this situation is to put a tcl script on the "TPS inbound data " side of the thread coming from the sending system (SEND_SYS_IN). The script will look for A38 messages and write the whole message to a file (one message per file).
Then I have a cron entry that starts a unix (AIX system) shell script every hour that looks at the directory where the files are written and finds every file that is more than 24 hours old and using the command line version of the cloverleaf commands, replays the messages on a second inbound thread (REPLAY_THREAD_IN) used specifically for the message replay. Both the initial inbound thread and the replay inbound thread are routed to the outbound thread to the receiving system.
SEND_SYS_IN ============> REC SYS_OUT
/
/
REPLAY_THREAD_IN ====/
Any Xlating that needs to be done can be done on the route from REPLAY_THREAD_IN to REC_SYS_OUT.
Let me know if you have any questions.
david_barr
I'd probably route the messages to files (one message per file), and use a fileset-ftp interface to read the files back in. I'd use a dirparse proc on the inbound thread to only read files that were older than 24 hours.