Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Task scheduling is used to invoke a data service operation periodically or for a specified number of times. Read about data services and operations. The  The scheduling functionality is useful when a specific data service operation scheduled for execution is associated with an event-trigger. When such a scheduled task is run, the event can be automatically fired by evaluating the event trigger criteria. For example, we can schedule a task on getProductQuantity operation and set an event to send an email if the quantity goes down to some level.

Task scheduling functionality is provided by the following feature in the WSO2 feature repository:

Name : Data Service Tasks Feature
Identifier : org.wso2.carbon.dataservices.task.feature.group

The following topics are covered:

Table of Contents
maxLevel3
minLevel3

Configuring server for task handling

For instructions on how to configure the Task Scheduling component for you server, see the admin guide.

Adding Scheduled Tasks

Follow the steps given below to schedule a task.

...