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
Passing variables in xlate to instream proc
Mike Campbell
I'm trying to structure an email using and instream proc. I need to be able to pass several variables set during message processing to pass into the tcl. The email works fine developing the body, subject, etc.
Basically, I need to save the inbound mrn, name and dob from HL/7 and pass those values in the body of the email. Didn't really see any thread that addresses this.
5.7 on AIX.
Thanks.
Find more posts tagged with
Clovertech
Comments
Jim Kosloskey
Mike,
If I understand the question, you could populate temp variables (something like
@mrn
,
@name
,
@dob)
then use those as the Source for the Action that has the Tcl code. The values of the temp variables will be in XlateInVals.
Of course you could also just use the inbound or outbound fields (after they are populated) as the Source for the Action that contains the Tcl code.
Whichever works best for you.
Mike Campbell
Thanks Jim. As always...good information.
Just to clarify, I'm trying to, dependent on getting a Merge HL/7 message, to send an e-mail out. I'm trying to use an in stream process to build the message and send via mailx. Everything works, except getting the values from the message that I need.
So, that's what I'm working on now. Either using variable set in the xlate or referencing the xlateoutvals somehow.