padv.builtin.query.GetOutputsOfDependentTask Class
Namespace: padv.builtin.query
Superclasses: padv.Query
Query for getting outputs from predecessor task
Description
The padv.builtin.query.GetOutputsOfDependentTask class provides a query
that can return the outputs from a predecessor task.
You can use this query in your process model or task definition to find artifacts for your
task to use as inputs. Typically, you use this query to pass the outputs of one task as inputs
to another task. For example, if TaskB depends on TaskA,
then TaskA is a predecessor task. You can pass the outputs from
TaskA to TaskB by specifying
GetOutputsOfDependentTask as an input query for
TaskB.
The padv.builtin.query.GetOutputsOfDependentTask class is a handle class.
Creation
Description
creates a query for getting the outputs from the predecessor task. You must define the
predecessor task by using the function query = padv.builtin.query.GetOutputsOfDependentTask()dependsOn on the task
objects.
sets certain properties using one or more name-value arguments. For example,
query = padv.builtin.query.GetOutputsOfDependentTask(___,Name=Value)padv.builtin.query.GetOutputsOfDependentTask(Name="MyQuery",Task="TaskA")
creates a query named MyQuery that finds the outputs from
TaskA.
The padv.builtin.query.GetOutputsOfDependentTask class also has other properties, but you cannot set
those properties during query creation.
Name-Value Arguments
Properties
Methods
Examples
Capabilities and Limitations
This table identifies functionality that is supported by the query.
| Functionality | Supported? |
|---|---|
Input query for task | Yes. |
Iteration query for task | No. |