Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Minor change to text

...

The example has a very simple shell script that gives out the value of the orderNodeParam job chain node parameter.

JobScheduler exposes job chain nodes to shell scripts as environment variables. As can be seen in the screenshot below, the parameter name is prefixed with the default JobScheduler environment variable prefix SCHEDULER_PARAM_.

...

Running the example

Start the order1 using Order Menu / Start order now as shown in the screenshot:

At Opening the log file for the order (clicking on the order ID in the Order History pane - in the bottom right of the above screenshot) will show that at step 100 the job1 shell script will give out the value for the orderNodeParam defined in the order in the log file:

Code Block
languagexml
[stdout] job1: Value of orderNodeParam = 100

At step 200 the shell script will give out the value for the orderNodeParam defined in the order in the log file (200) together with the values set for the orderParam and jobParam:

...