Hi Guys. Rookie problem here. I've got a client side agent that runs a bunch of formula code, including storing a couple of environment variables (which I have confirmed are there), then kicks off a script agent. That second agent needs to retrieve the environment variables set by the first, but it isn't. I'm sure it's something super basic I'm overlooking. Relevant code follows in which I've included a couple of message boxes to debug which are empty. Thanks in advance. - Stace
Dim sel As Variant
sel = s.getenvironmentstring("rdate", True)
Dim depts As String
depts = s.Getenvironmentstring("rdept", True)
Dim prompt1 As String
prompt1 = depts
MessageBox prompt1, MB_OK, "Dept Env Variable"
Dim prompt2 As String
prompt2 = sel
MessageBox prompt2, MB_OK, "Date Env Variable"
Gettign Env Variable With Script (Stacy Elmwood 27.Apr.18)
Feedback number WEBBAY8JPC created by Stacy Elmwood on 04/27/2018
. . Variable Name? (Mark Taylor 27.Apr.18)