You can add an
Orchestration
Job node to a
Flow tab in an
orchestration job to run embedded orchestration jobs. For example,
you can create an orchestration job that uses two levels of
Orchestration
Job nodes to create a three-level job.
The following display
shows the base-level orchestration job:
Base-Level Orchestration Job
This base-level job
is opened in the properties window for the
Orchestration node
in the middle-level job, which is shown in the following display:
Middle-Level Orchestration Reference
The following display
shows the inputs for the
Expression node
in the base-level job:
Base-Level Expression
Note that the
ref_refinput variable
from the middle-level job is picked up here.
The
Variable
Read Write node in the base-level job enables you to
specify a job variable. You can write the job’s output to this
variable, as shown in the following display:
Base-Level Read or Write Variable Settings
The following display
shows the middle-level orchestration job:
Middle-Level Orchestration Job
This middle-level job
is opened in the properties window for the
Orchestration node
in the top-level job, which is shown in the following display:
Top-Level Orchestration Job Reference
The following display
shows the settings for the middle-level orchestration job:
Middle-Level Orchestration Job Settings
You must enter a filename
and path for the job. You also need to create a source binding for
the variable associated with the job.
The input and output
variables created for the top-level orchestration job are shown in
the following display:
Middle-Level Orchestration Job Variables
Note that the
refinput variable
from the top-level job is picked up here.
The
Variable
Read Write node in the middle-level enables you to specify
a job variable. You can write the job’s output to this variable,
as shown in the following display:
Middle-Level Read or Write Variable Settings
The following display
shows the top-level orchestration job:
Top-Level Orchestration Job
The following display
shows the settings for the top-level orchestration job:
Top-Level Orchestration Job Settings
Just as you did with
the middle-level job, you must enter a filename and path for the job.
You also need to create a source binding for the variable associated
with the job.
The input variable
created for the top-level orchestration job is shown in the following
display:
Top-Level Orchestration Job Variables
The following display
shows the expression created in the
Expression node
included in the top-level job:
Top-Level Expression
This expression generates
a text file that summarizes the output from the nested orchestration
jobs.
You can verify that
this sample job ran successfully by checking the variable input, which
should be
ORCHREF_3Levels a Success! Variable input
= mainValueTopLevelJob 3 levels.