Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: 'Usage Notes' moved to Intro

Table of Contents

Introduction

This example configures shows the configuration of a job chain using parameters from a job chain with jobs that parameter file. The jobs in the job chain use a special monitor to read parameters from the job chain parameter filesfile. The parameters in these files the job chain parameter file can reference other (global) parameters.

Usage Notes

The flexible use of parameters possible with job chain node parameters cannot be achieved using normal order parameters. It could be achieved by using job parameters but if the same job is used at multiple steps in a job chain or in different job chains you would have to define multiple instances of that job, although it is the same job implementation.

For example, if a job chain consisted of three steps:

  1. transfer a file by FTP to host a,
  2. transfer a file by FTP to host b,
  3. delete file.

You could use the same job for steps 1 and 2 using different parameters for each job.

In the current example the same job will be used twice but with different parameters.

Downloads

...

  • The second <params> element is a child of <process state="second">. It configures parameters for the second node (called "second") of the job chain. It overwrites the param2 parameter and sets it to xyz. param3 is not set at all, thus it doesn't appear in the log for state second
  • param4 is defined in the same way as in state first, but this time the resulting value is different because param2 has been overwritten for this state.

Usage Notes

This flexible use of parameters cannot be achieved using normal order parameters. It could be achieved by using job parameters, but if the same job is used at multiple steps in a job chain or in different job chains you would have to define multiple instances of that job, although it is the same job implementation.

For example, if a job chain consisted of three steps:

  1. transfer a file by FTP to host a,
  2. transfer a file by FTP to host b,
  3. delete file.

You could use the same job for steps 1 and 2 using different parameters for each job.

...

  • .

Scope / Application

In job chain parameter files the ${PARAMNAME}-syntax can be used to reference:

...