Versions Compared

Key

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

...

  • Open the JobScheduler Operating Center, JOC, in your browser using http://scheduler_host:scheduler_port
  • Open the JOB CHAINS tab and enable "Show orders".view.
  • Navigate to the folder node_parameters_from_order 
  • Click Expand Details
  • Start the order1 using the Order Menu / Start order now as shown in the screenshot:Image Removed
  • 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 order will show that at step 100 the job1 shell script will give out the value for the orderNodeParam defined in the order:

    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 (200) together with the values set for the orderParam and jobParam:

    Code Block
    languagexml
    [stdout] job1: Value of orderNodeParam = 200 Parameter-value-from-job - Parameter-value-from-order

Use with API Jobs

At the time of writing (current releases are 1In releases 1.8.4, 1.9.8 and 1.10.2 ) the above example works with shell jobs and not with API jobs - which includes many of the JITL jobs.

An issue has been raised - for more information see

Jira
serverSOS JIRA
columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
serverId6dc67751-9d67-34cd-985b-194a8cdc9602
keyJS-1573

Workaround for API & JITL Jobs in release 1.8.4, 1.9.8, 1.10.2

To activate the order node function please add the configuration monitor to the pre-processing element of the job at the job node.

...

  • Restart the JobScheduler
  • Open the JobScheduler Operating Center, JOC, in your browser using http://scheduler_host:scheduler_port
  • Open the JOB CHAINS view.
  • Navigate to the folder samples/configuration/chain_a
  • Click Expand Details
  • tab and enable "Show orders".Find the job chain samples/configuration/chain_a.
  • Find Start the order my_order, open the order menu and choose "Show log".

A window will open showing the log of the order. As the order isn't running yet, the window will show nothing more than information about the configuration file, the next start time of this order and its initial state. Leave the window open and move it to a place where you can see it along with the main browser window.

  • Start the order by choosing "Start order now" by choosing "Start order now" from the Order menu.
  • Watch the log grow in the other windowlog 

The order will run through both steps of the job chain. In each step the order parameters will be logged by the job. The parameters param1 - param4 should be shown in the log with the following values:

...