Hello,
Since adding these global variables I noticed something happening and wonder if it is a known issue.
If the GV is used as part of the job name I encountered and error when simulating the Application only when I select the specific jobs to simulate. If I just execute a simulate on the Application the jobs with the GV correctly translate to the GV value. I do not have an example of this because I have since removed the reference to the GV in the job name.
Example #2 below, is this error we received, which is basically the same error as in the simulate scenario, but we got a warning email.
From: WAPRDMGR01@darden.com <WAPRDMGR01@darden.com>
Sent: Wednesday, August 11, 2021 2:27 PM
To: DL_ITIN_SCHEDULING <DLITINSCHEDULING@darden.com>
Subject: Event PEOPLESOFT.PS_PSRPTWKY did not trigger application PS_PSRPTWKY at Wed Aug 11 14:27:06 EDT 2021
The job ZHRP066_%VAR('MSTIS_P1','SERVERS').MV_LH_MGROSTER_FILES_2_ESPTRANS cannot be found in application.
------------------------------
DARDEN Corporation
Orlando, FL
------------------------------
Original Message:
Sent: 08-03-2021 10:07 AM
From: Nitin Pande
Subject: Global variable in File Monitor Events
Hi Ken,
The Global Variable will only resolve at Job level. You can use the global var in file monitor job, but not in File Trigger event.
https://techdocs.broadcom.com/us/en/ca-enterprise-software/intelligent-automation/ca-workload-automation-de/12-3/scheduling/managing-global-variable-dependencies/var-statement-specify-global-variables-in-job-fields.html
HTH,
Nitin Pande
------------------------------
Support
Broadcom
Toronto
Original Message:
Sent: 07-30-2021 10:31 AM
From: Kenneth Chrapczynski
Subject: Global variable in File Monitor Events
Hello wonderful people. Can a Global variable be added into a File Monitor Event? Or is it best to create a File Monitor Job to leverage a Global variable?
------------------------------
Ken Ski
DARDEN Corporation
Orlando, FL
------------------------------