DataWorks provides the shift schedule feature, which allows you to create shift schedules. If you set the Recipient parameter to Varies According to Shift Schedule and select a shift schedule when you create a custom alert rule, DataWorks can send alert notifications to the on-duty engineers that you specify for the shift schedule. After the engineers receive the alert notifications, they can identify and handle exceptions at the earliest opportunity. This topic describes how to create and manage a shift schedule.

Limits

You can use the shift schedule feature only in DataWorks of the Professional Edition or a more advanced edition. If you are using DataWorks of the Basic or Standard Edition, upgrade your DataWorks service to the Professional Edition or a more advanced edition before you use this feature. For more information about DataWorks editions, see DataWorks advanced editions.

Precautions

  • After your DataWorks edition expires, you cannot access the Schedule page. In addition, you cannot create, view, modify, or delete a shift schedule and the shift plans in the shift schedule.
  • If you do not renew the subscription of your DataWorks edition in a timely manner or the edition is even downgraded after it expires, DataWorks retains the shift schedules you created. After you upgrade your DataWorks service to the Professional Edition or a more advanced edition again, you can still use the shift schedules.
  • To use a shift schedule, you must set the Recipient parameter to Varies According to Shift Schedule and select the shift schedule when you create a custom alert rule. This way, the on-duty engineers that you specify for the shift schedule can receive alert notifications when an alert is reported. For more information about how to create a custom alert rule, see Manage custom alert rules.

Create a shift schedule and a shift plan

  1. Go to the Operation Center page.
    1. Log on to the DataWorks console.
    2. In the left-side navigation pane, click Workspaces.
    3. In the top navigation bar, select the region where your workspace resides. Find your workspace and click Operation Center in the Actions column.
  2. In the left-side navigation pane of the Operation Center page, choose Alarm > Schedule.
  3. In the Shift Schedule pane, click the Create Shift Schedule icon. In the Create Shift Schedule dialog box, configure the parameters. Create Shift Schedule
    Parameter Description
    Name The name of the shift schedule.
    Admin The administrator of the shift schedule. The default value is the account that is used to log on to the Alibaba Cloud Management Console. You can set this parameter to the Alibaba Cloud account or the RAM user that is added to your DataWorks workspace.
    Shift Reminder You can specify this parameter to notify on-duty engineers of the time of the next shift. Default value: No Reminder. You can set this parameter to One Day Before, Two Days Before, or One Week Before based on your business requirements.

    If you set this parameter to One Day Before, Two Days Before, or One Week Before, you can also configure the specific notification time and notification method.

    Reminding Method The notification method. Valid values: SMS, Email, Phone, and DingTalk Chatbot. For more information about how to add a DingTalk chatbot and obtain the webhook URL of the chatbot, see Add a DingTalk chatbot and obtain a webhook URL.

    This parameter is required only when you set the Shift Reminder parameter to One Day Before, Two Days Before, or One Week Before.

  4. Click OK.
  5. In the upper-right corner of the pane that appears, click Create Shift Plan.
    You can also double-click the white block of a specific date to create a shift plan. Double-click the white block of a specific date to create a shift plan
  6. In the Create Shift Plan dialog box, configure the parameters.
    Parameter Description
    Shift Personnel The on-duty engineer of the current shift schedule. You can set this parameter to the Alibaba Cloud account or the RAM user that is added to the DataWorks workspace.
    Type
    • Chief: The on-duty engineer serves as the main engineer in charge.
    • Vice: The on-duty engineer serves as the secondary engineer in charge.
    All Day
    • Yes: The shift plan is effective for 24 hours a day. The values of the Start Time and End Time parameters are both a specific date.
    • No: You can configure the Start Time and End Time parameters based on your business requirements.
    Start Time The time when the shift plan starts. You can customize a point in time only when the All Day parameter is set to No.
    End Time The time when the shift plan ends. You can customize a point in time only when the All Day parameter is set to No.
    Repeat Default value: No. You can also set this parameter to Every Day, Every Week, Every Monday to Every Friday, Every Month, Every Year, or Custom Time.

    After you configure a repetition cycle, the information about the created shift plan is added to the white blocks of the specified dates based on the cycle.

    Repetition Interval You can set the Repetition Interval parameter to any number of days before or after the current shift period.

    This parameter is required only when you set the Repeat parameter to Custom Time.

    Ended At Specifies the date on which the repetition cycle ends. Default value: Never.

    This parameter is required only when you set the Repeat parameter to Every Day, Every Week, Every Monday to Every Friday, Every Month, Every Year, or Custom Time.

    The following figure shows a sample shift plan. Create Shift Plan
    Note
    • The information marked in blue is the shift information about the main engineer in charge. The information marked in yellow is the shift information about the secondary engineer in charge.
    • You can create a shift plan only for the current date or a later date.
    • DataWorks allows you to specify multiple main engineers or secondary engineers in charge for the same shift plan.

Manage a shift schedule

  • In the Shift Schedule pane, you can perform the following operations:
    • Search for a shift schedule by specifying the Search or Admin parameter.
    • Move the pointer over the More icon on the right side of the name of a shift schedule and select Change or Delete to modify or delete the shift schedule.
      Note Only the administrator of a shift schedule can modify or delete the shift schedule or a shift plan created in the shift schedule.
    • Double-click a shift schedule to go to the details pane and view the detailed information about the shift schedule.
    Shift schedule
  • In the details pane of a shift schedule, you can perform the following operations:
    • In Area 1, you can view the basic information about the shift schedule and view the current engineer in charge. If the custom alert rule that you configured uses this shift schedule, related alert notifications are sent based on the shift plan created in the shift schedule. You can click View Details next to Usage to view detailed information. For more information about how to manage custom alert rules, see Manage custom alert rules.
    • In Area 2, you can select the type of engineers in charge to view a specific shift plan. You can also specify a month to view a shift plan. By default, the shift plans of all engineers in charge within the current month are displayed.

      After you view a shift plan that is not created in the current month, you can click Back to Current Month to go back to the details pane of a shift schedule in the current month.

    • In the details pane of a shift schedule, you can view the detailed information about a created shift plan, including engineers in charge, the shift dates, and the types of engineers in charge. You can also click a created shift plan to modify or delete it.
    Manage a shift schedule