Hello World :-),
I try to use a VARIABLE, set in a adTempus Variable tab:
Variable ES_Server, value PASO17P1
in a script like:
adtempus.LogMessage 1, 0, "User script starting"
Dim filesys
Set filesys = CreateObject("Scripting.FileSystemObject")
PASO_Server=adTempus.JobVariables("ES_Server")
rem ES_Server="GS2016"
If filesys.FileExists("F:\MFES\ESServers\" & PASO_Server & "\Data\TRIGGERS\adTempusChk.txt") Then filesys.DeleteFile "F:\MFES\ESServers\" & PASO_Server & "\Data\TRIGGERS\adTempusChk.txt"
End If
Result=">" & PASO_Server
When I press the Test button it ends OK with
Script completed with result ">"
No value for PASO_Server.
We are running with Product Version: 4.2 Hotfix 15243.1514
Can anyone help me?
Thanks,
Guy