Skip to Content

Module 6: Creating a Schedule

Introduction

Module 6 in the Introduction to the Harmony Cloud Studio training course demonstrates creating a custom schedule to run the operation automatically on that schedule.

Prerequisites

The operation created in Module 5 - RESTful Web Service is used as an example. However, a schedule may be applied on any operation.

Summary

In this module, you will add a schedule to the operation created in Module 5 - RESTful Web Service.

The completed operation will look like this:

operation zip code rest schedule

1. Create and Assign a Schedule

For this module, you continue working within the same workflow as Module 5 and add a schedule to the operation:

  1. In the top right of the operation, click the actions menu icon actions menu 5 and from the menu select Settings.
  2. Within the Schedules tab, click Create New Schedule.
  3. Configure the operation schedule:
    • Name: "Monthly"
    • Occurrence: Select Monthly, then select the second radio button and configure the schedule for the 4th Sunday of every 1 month.
    • Frequency: Select Occurs once at and 01:00 AM. Click Save.
  4. Within the Schedules tab, use the first dropdown to select On Schedule. Under Available Schedule, select the "Monthly" schedule you just created. Click Assign. Then close the operation settings.

The schedule should have a configuration similar to this:

schedule monthly

When a schedule is assigned to an operation, a schedule icon appears in the top right of the operation:

operation zip code rest schedule

2. Deploy the Operation

Next, you re-deploy the operation so that the assigned schedule will take effect:

  1. In the top right of the operation, click the actions menu icon actions menu 5 and from the menu click Deploy. The operation will now run on the assigned schedule.

3. Remove or Edit a Schedule

You can also remove or edit the schedule:

  1. In the top right of the operation, click the schedule icon schedules.
  2. Under Assigned Schedule, click the edit icon edit 3 to reopen the schedule configuration or click the remove icon edit 3 to unassign the schedule from the operation.
  3. After making changes or removing a schedule, remember to redeploy for the changes to take effect.