Details
-
Fix
-
Status: Dismissed (View Workflow)
-
Minor
-
Resolution: Works as designed
-
1.12, 1.13
-
None
-
None
Description
Current Situation
- The environment variable SCHEDULER_ORDER_STATE with the PowerShell language is not accessible. When the variable is printed in the job script then it prints the empty value.
Desired Behavior
- The environment variable SCHEDULER_ORDER_STATE should be accessible with the PowerShell language.
Maintainer Notes
- The JobScheduler provides environment variables for Shell jobs. However, PowerShell jobs are API jobs, therefore no environment variables are provided.
- Instead the requested information as e.g. the order state can be retrieved from the PowerShell Job API, see https://www.sos-berlin.com/doc/en/scheduler.doc/api/Order-powershell.xml