run
Run task
Description
runs the task represented by taskResult = run(taskObj)taskObj and returns the result from the
task.
How a task runs depends on how the you define the task. You can define tasks using a function or a class:
Function-based tasks — Runs the function specified by the
Actionproperty of the task.Class-based task — Runs the
runfunction implemented inside the class definition.
By default, when you create a padv.Task object, the task is a
function-based task, even if you do not specify an Action property for
the task.
uses the artifacts specified by taskResult = run(taskObj,inputArtifacts)inputArtifacts as inputs to the task.
The InputQueries property of the task specifies the query that provides
the inputArtifacts for the task.