Passing properties from one task integration to another task in the same workflow instance
This topic shows how to pass properties from one task integration to another task in the same workflow instance.
You can export task properties from one task integration to reuse them as
variables in a successive task in the same workflow instance. The variables
are resolved locally on the agent at run time. To add a task property within a successor
task, use the following syntax:
${jobs.<job_name>.<property_name>}where- <job_name>
- is the name value or alias name value of the task from which you are exporting the property values
- <property_name>
- is the property that you are referring to. The <property_name> value is case insensitive.
Only the following task
integrations can pass properties to other successor tasks:
- IBM Sterling Connect:Direct tasks
- Properties for IBM Sterling Connect:Direct
tasks shows the list of properties that you can pass
from one IBM Sterling Connect:Direct
task to another and
indicates the mapping between the
Extra informationproperties of the task and the properties that you can use. - File transfer tasks
- Properties for file transfer tasks shows the list of properties that you
can pass from one file transfer task to another and indicates
the mapping between the
Extra informationproperties of the task and the properties that you can use.Since you can use wildcards to specify a partial name condition, you can transfer more than one file within the same task, and you have one full set of properties for each transferred file.
- JSR 352 Java Batch tasks
- Properties for JSR 352 Java Batch
tasks
shows the list of properties that
you can pass from one JSR 352 Java Batch
task to another and
indicates the mapping between the
Extra informationproperties of the task and the properties that you can use. - Database tasks
- Properties for database tasks shows the list of properties that you can
pass from one database task to another and indicates
the mapping between the
Extra informationproperties of the task and the properties that you can use.
Properties for IBM Sterling Connect:Direct tasks
| IBM Sterling Connect:Direct properties that can be passed in another task definition | IBM Sterling Connect:Direct job Extra Information properties |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Properties for file transfer tasks
| For the file number counter, the properties that can be passed in another job definition (a set of properties for each transferred file) | For the file number counter, the job Extra Information properties (a set of properties for each transferred file) |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Only one value for each task. |
Properties for JSR 352 Java Batch jobs
| JSR 352 Java Batch task properties that can be passed to another task | Label |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| The following variables are exported for each step of the task: | |
|
|
|
|
Properties for database tasks
| Database task properties that can be passed to another job | Label |
|---|---|
|
|
|
|
|
|