Monitor > Monitoring Data Integration jobs > Running a taskflow instance from a step
  

Running a taskflow instance from a step

You can run a taskflow instance from a particular step from the All Jobs, Running Jobs, or My Jobs page.
You can run a taskflow instance from a step if the taskflow meets the following criteria:
You can run a taskflow instance from any step other than the Start step, End step, Throw step, and Jump step.
When you run a taskflow instance from a particular step, if any subsequent step uses input from a previously executed step, it will have null values. To avoid this issue, update the input and temporary variables before you run a taskflow instance from a step. For more information about updating variables, see Updating variables to run a taskflow instance from a step.
To run a taskflow instance from a step, open the All Jobs, Running Jobs, or My Jobs page, and then click the taskflow instance. On the job details page, select the step from which you want to run the taskflow and click the Run from the selected step icon.
The following image shows the Run from the selected step icon to run the taskflow instance from the selected Data Task step:
The image shows the Run from the selected step icon to run the taskflow instance from the selected Data Task step.
Note: When you run a taskflow from a particular step, the taskflow status might change. If the taskflow is used in another taskflow, the parent taskflow will not be impacted by the updated taskflow status. You can run a taskflow from the steps that ran successfully. You can also run a taskflow from a failed task such as a Data Task step, Ingestion Task step, or Command Task step provided the error handling for that task is set to ignore on error.

Updating variables to run a taskflow instance from a step

Use the Variables tab to update the input and temporary variables or fields and their associated values to run a complex taskflow instance from a particular step.
The Variables tab contains all the input variables and fields that are configured in the Start step for the taskflow. It also contains the temporary variables and fields that also include tasks such as Data Task step, Ingestion Task step, and Command Task step that were used to run the taskflow.
To update the input and temporary variables or fields and their associated values, open the All Jobs and Running Jobs page in Monitor or the My Jobs page in Data Integration, and then click the taskflow instance. On the job details page, click the Edit icon next to the Input or Temp variable. Based on the values passed in the taskflow, the variables are displayed in the JSON or XML format in the Variable Input and Variable Temp dialog boxes respectively. Update the variables and click Update.
You cannot run a task that never ran. For example, you cannot run a taskflow instance from the Data Task 1 step as shown in the following image:
The image shows the Data Task 1 step that did not run.
In this case, you must update the variable value that is used in the Decision 1 step, and then run from the Decision 1 step again.
The following image shows the taskflow instance after it runs from the Decision 1 step:
The image shows the taskflow instance after it runs from the Decision 1 step.
For more information about the input and temporary fields, see the Taskflows documentation.