Passing variables between jobs
This topic shows how to pass variables between jobs.
In many scenarios, the job output or a job property of a job in a job stream can be the input for the execution of a successive job in the same job stream or in a different job stream.
In the following scenario, you have JobA
and JobB
in the
same job stream instance and JobA
is a predecessor of JobB
.
JobA
passes some properties to JobB
at execution time.
You can pass the following properties from
JobA
to JobB
:JobA
exports some properties andJobB
references these properties in its definition as variables in a predefined format. At execution time, variables inJobB
are automatically resolved. The job properties that you can export depend on the job type you are defining. See Passing properties from one job integration to another job in the same job stream instance.- Only for executable jobs.
JobA
sets some custom property values by using the jobprop utility on dynamic agents.JobB
references these properties as variables in its definition. At execution time, variables inJobB
are automatically resolved. See Passing variables set by using jobprop in one job to another in the same job stream instance.