Skip to content

Scheduling ESB Tasks

Follow the instructions given below to create a Scheduled Task in WSO2 Integration Studio.


Creating the Scheduled Task artifact

  1. Right-click the ESB Config project and click NewScheduled Task.

  2. Select Create a New Scheduled Task Artifact and click Next.

  3. Specify values for the required parameter for the scheduled task.

  4. Specify the location to save the artifact:

    • To save the scheduled task in an existing ESB Config project in your workspace, click Browse and select that project.
    • To save the scheduled task in a new ESB Config project, click Create new Project and create the new project.
  5. Click Finish

    The scheduled task is created in the src/main/synapse-config/tasks folder under the ESB Config project you specified.

  6. To use the scheduled task, update the properties.

Updating properties

Update the task properties to specify the incoming message that should trigger the task and the destination to which the message should be injected.

  1. Open the new artifact from the project explorer.

  2. In the Form view, you can optionally modify already specified property values.

  3. Click Task Implementation Properties to open the Task Properties dialog box.

  4. Update the properties.