Taskflows > Taskflows > Running a taskflow
  

Running a taskflow

Use a taskflow to control the execution sequence of multiple Data Integration tasks.
You can invoke and run a taskflow in the following ways:
From the taskflow designer
To run a taskflow from the taskflow designer, open the taskflow and click Run in the upper-right part of the page.
You can also create one or more taskflow inputs and run the taskflow with the inputs. To run the taskflow using taskflow inputs, open the taskflow, and then from the Actions menu, select Run Using.
As an API
To run a taskflow as an API, you must first publish the taskflow as a service, and then run it. When you publish a taskflow, Data Integration generates the service URL and the SOAP service URL. You can use these endpoint URLs to run the taskflow as an API. When you run a taskflow as an API, you can dynamically provide input parameters for the tasks that the taskflow contains and perform orchestration.
Using the RunAJob utility
To run a taskflow using the RunAJob utility, the taskflow must be published. To use the RunAJob utility, type the RunAJob utility command cli.bat runAJobCli followed by arguments.
Initiated by a file listener
You can invoke a taskflow through a connector file listener. Within the taskflow, define the binding type as Event and select the connector file listener as the event source. When you publish the taskflow, the taskflow subscribes to the connector file listener that is defined in it. When a file event occurs, the connector file listener invokes the taskflow. For example, if you configure the connector file listener to listen for new files on a folder, the connector file listener invokes the associated taskflow each time a new file arrives in the specified folder.
For more information about file listeners, see Components.
According to a schedule
To run a taskflow on a schedule, create a schedule in Administrator and associate the taskflow with the schedule.
For more information about schedules, see Organization Administration in the Administrator help.