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
Iterate variables
System
Originally posted by Gary Holodnick
Is there a way to log iterate variables to the process log?
Find more posts tagged with
Clovertech
Comments
Jim Kosloskey
Using Tcl.
I don't do inline Tcl for Xlates but I have a proc which will echo whatever you identify in the source.
The key is the variable when referenced as data (in the source or destination) needs to be prefixed with a $
Like this $%g1.
So place it in your Source as $%g1 (or whatever your variable is named) and in the Tcl echo [lindex xltInVals 0] (assuming only the $%g1 is in the Source).
If you would like the echo proc I have, email me.
System
Originally posted by Gary Holodnick
Thank you Jim. The dollar sign is the key.
Jim Kosloskey
Sorry echo [lindex xltInVals 0] should be echo [lindex xlateInVals 0] of course. Bad keying on my part.