Table of Contents

Search

  1. Preface
  2. Taskflows and linear taskflows
  3. Taskflows
  4. Linear taskflows

Taskflows

Taskflows

Invoking a taskflow through a connector file listener

Invoking a taskflow through a connector file listener

You can invoke a taskflow through a connector file listener.
Within a taskflow, you can 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.
You can monitor the execution of the connector file listener and the events that occur on each run job of the connector file listener. Connector file listener log entries are listed on the
File Transfer Logs
page in Monitor. The connector file listener logs show the name, size, last modified date and time, file path, event type, and event time.
  1. Create a connector file listener and define the event that will invoke the taskflow.
  2. Start or schedule the connector file listener.
    The connector file listener must be running when you publish the taskflow.
  3. Create a taskflow.
  4. Click the Start step of the taskflow.
  5. Click the
    Start
    tab.
  6. In the
    Binding
    field, select
    Event
    .
  7. In the
    Event Source Name
    field, select the connector file listener that you configured.
    Data Integration creates an input field to store details of the files that arrived, were updated, or were deleted as part of the connector file listener event. The input field takes the name of the connector file listener.
  8. Add steps to the taskflow as needed.
  9. Save and publish the taskflow.
To unsubscribe from the connector file listener, unpublish the taskflow.

0 COMMENTS

We’d like to hear from you!