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
Thread question
Mike Campbell
I know you can code a TCL fragment, you could copy $::HciSite to xlateOutVals to determine if production or test site.
Is there a similar HCI variable to use to populate an e-mail with the thread that generated a message? Basically, I'm setting up a process to e-mail if we get a 'NACK' back from a vendor and want to use a generic e-mail tcl proc and a variable to say which thread it was generated from.
As always, thanks!
Find more posts tagged with
Clovertech
Comments
Charlie Bursell
HciConnName
System
Originally posted by Michael Hertel
We use the following in our tclprocs:
global HciSite HciConnName
set procname [lindex [info level [info level]] 0]
set module "$HciSite/$HciConnName/$procname: "
$module is used as part of the subject in the email.
Very useful.
System
Originally posted by Richard Hart
We have a library routine to send emails and prefix non production emails with [Cloverleaf ].
We use the Cloverleaf install environment variable to confirm the run level - which may not work for you - and store this in a global variable once set.
eg
Subject: [Cloverleaf Test]HCAL Processing for Application: eConsult; CorrelationID: 53652fbc-4563-4f34-b88e-ff72bf2b1d00 [document_sit]