Page History
...
- From the list of available job templates select the SetJobResourceJob.
Then hit the "Next" button to make the job wizard display available arguments:
Explanation:
- There are optional arguments for this job to identify the controller Controller to which the Job Resource should be deployed:
- The default Controller is the controller one that is actually currently selected by the user that performs the login.
- Select the check box provided with each argument if you want this argument to be added to the arguments of the SetJobResource SetJobResourceJob template.
When hitting the Submit button the wizard adds the required arguments to the job which should look like this:
...
Name | Required | Default Value | Purpose | Example |
---|---|---|---|---|
job_resource | yes | The path to the Job Resource that should be created or updated. Both specification of a path and specification of the name can be used. | /resources/my_vars | |
| yes | The name of the variable in the Job Resource (case-sensitive). | var1 | |
value | yes (one of file or value is required.) | The value of the variable:
| ||
file | yes (one of file or value is required.) | The name of a file: The content of the file will be used as value in the job resource. The content is stored with to_file(). Additionally the variable
| ||
time_zone | no | If a Java data pattern is specified for the The time zone is specified from a string, for example "GMT", "Europe/London". Valid time zone strings as explained with https://en.wikipedia.org/wiki/List_of_tz_database_time_zones can be specified. If this parameter is omitted then the time zone that the Agent is operated for will be used. | ||
environment_variable | no | The name of an environment variable in the Job Resource that should automatically be populated with the value specified for the | ||
controller_id | no | The Controller ID identifies the Controller to which the updated Job Resource will be deployed. | ||
encipherment_certificate | no | The certificate The CA signed or self-signed X.509 certificate. Alternatively the public key can be specified. This variable is normally provided via a job resource that is managed with the certificate management. When this variable is set the value will be encrypted. The encrypted value will contain:
When the certificate is specified the value will be encrypted and then added to the job resource. |
Further Resources
- JS7 - JITL Common Variables
- JS7 - How to make a global Business Date variable available to jobs
- JS7 - How to update a Job Resource using the REST Web Service API from the Unix Shell