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
Xlt Procs
System
Originally posted by David Harrison
Cloverleaf 6.0 on REL
I want to run two tcl procs pre-Xlate. I put the second one in the line below the first but when I run the Xlate throught the test tool it only executes the second proc.
Any ideas welcome
Find more posts tagged with
Clovertech
Comments
jcobane1
David,
When you state you want to run two procs pre-xlate, are you referring to pre-xlate on the route, or are you referring to in the pre- context within the Xlate?
Jim Cobane
Henry Ford Health
System
Originally posted by David Harrison
Jim,
It's the Pre Proc within the Xlate.
Thanks,
Dave
jcobane1
Okay. So, the procs are both going to be using the same values for xlateInVals, and if they are both setting xlateOutVals, the net effect will be only the output of the 2nd proc. If you want the 2nd proc to use the xlateOutVals values produced from the first proc, you will need to code it that way. Does that make sense?
Hope this helps.
Jim Cobane
Henry Ford Health
System
Originally posted by David Harrison
Jim,
Yes I get the idea. It's probably easier to combine the two procs into one.
Thanks,
Dave
Jim Kosloskey
Or...
You could use two Xlate Actions.
The first uses the first proc and places the result in a destination of either a temp variable or an output field.
The second Action uses the second proc and the temp variable or output field populated by the first Action placing the result where you want it.
This way you keep the Tcl code discreet in its usage.
I do this all the time - The Xlate then and not the proc becomes the view of what is happening.
jcobane1
What Jim suggests is something that I do all the time as well. It keeps the procs modularized and provides easy step-through of the actions in the Xlate.
Jim Cobane
Henry Ford Health
System
Originally posted by David Harrison
Ok. Thanks for the tip