Table of Contents

Search

  1. Preface
  2. Components
  3. API collections
  4. Business services
  5. File listeners
  6. Fixed-width file formats
  7. Hierarchical mappers
  8. Hierarchical schemas
  9. Industry data service customizer
  10. Intelligent structure models
  11. Refining intelligent structure models
  12. Mapplets
  13. Saved queries
  14. Shared sequences
  15. User-defined functions

Components

Components

File listeners in taskflows

File listeners in taskflows

You can use a file listener in a taskflow when the file listener is configured to listen to connections.
You can use a file listener in a taskflow for the following use cases:
To invoke a taskflow through a file listener
You can invoke a taskflow through a file listener with the connector source type.
Within the taskflow, define the binding type as
Event
and select the file listener as the event source. When you publish the taskflow, the taskflow subscribes to the file listener that is defined in it. When a file event occurs, the file listener invokes the taskflow.
For example, if you configure the file listener to listen for new files on a folder, the file listener invokes the associated taskflow each time a new file arrives in the specified folder.
To orchestrate taskflow execution through file events
You can orchestrate taskflow execution through file events by using the File Watch Task step in a taskflow.
You can add a File Watch Task step to a taskflow to listen to files in a defined location and monitor file events. In the File Watch Task step, you can select an existing file listener with the connector source type. You can use file events to orchestrate taskflow execution.
For example, you can wait for a file to arrive at a particular location and then consume the file in a subsequent step.

0 COMMENTS

We’d like to hear from you!