Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • The global variable JS7_AGENT_TZ is available with the remote SSH session and indicates the JS7 Agent's local time zone.
  • A specific variable $dbName is mapped to the environment variable JS7_VAR_DBNAME in the remote SSH session.
  • A specific variable $ScriptDir is specified by a job resource with a value /usr/scripts and is declared with a workflow using the default value /var/scripts. The resulting environment variable JS7_VAR_SCRIPTDIR will hold the value /var/scripts unless a different value is specified by the order that is added to the workflow.

Passing variables back to the JobScheduler

To use this feature you have to make sure that your command or command script writes the key-value-pair, which you want to have passed back to the workflow, to the temporarily created file.

Example

The command echo MYPARAM=myTestParam >> $JS7_RETURN_VALUES writes MYPARAM=myTestParam to the temporary file defined by the environment variable $JS7_RETURN_VALUES.

The environment variable will be set implicitily during the job execution. When the SSH JITL Job finishes, it reads all the Key-Value-Pairs from the temporary files and returns them as order variables in the outcome of the job.

Cancellation

The following operations are available:

...