The shift schedule feature in DataWorks lets you manage on-call duties for handling instance O&M alerts, ensuring a timely response. When you configure a shift schedule as the recipient for a custom monitoring rule, DataWorks sends alerts to the on-duty engineer according to the shift plan. This helps on-duty engineers promptly identify and resolve issues. This topic describes how to create and manage shift schedules.
Limitations
The shift schedule feature is available only in DataWorks Professional Edition or later. If you are using an earlier version of DataWorks, you must upgrade to the Professional Edition or a later version. For more information about upgrading your DataWorks edition, see Features by DataWorks edition.
You cannot delete historical or current-day shift plans.
Notes
Impact of DataWorks subscription expiration or downgrade on shift schedules.
After your subscription expires, you cannot access the shift schedule page. You cannot view, create, modify, or delete shift schedules and their corresponding shift plans.
If your subscription expires without timely renewal or you downgrade your edition, DataWorks retains your shift schedule data. If you later upgrade back to the Professional Edition or higher, you can resume using the shift schedule feature.
How alert notifications are received.
On-duty engineers receive alerts only when a shift schedule is configured as the alert recipient in a custom monitoring rule. To configure custom rules, see Rule Management.
After a shift schedule is configured, when an alert is triggered, the Primary On-duty Engineer receives notifications for the first two occurrences. If the issue persists, the platform notifies both the Primary On-duty Engineer and the Secondary On-duty Engineer starting from the third occurrence.
Create a shift schedule and plan
-
Log on to the DataWorks console. In the target region, click in the left-side navigation pane. Select a workspace from the drop-down list and click Go to Operation Center.
In the left-side navigation pane, go to .
On the Shift Schedule page, click the
icon in the left pane. In the Create Shift Schedule dialog box that appears, configure the parameters.Parameter
Description
Name
A custom name for the shift schedule.
Administrator
Defaults to the current Alibaba Cloud account. You can specify the primary account or a RAM user of the DataWorks workspace as the Administrator.
Shift Reminder
If you enable shift reminders, DataWorks notifies on-duty engineers of their next shift in advance. The default is No Reminder. You can select One Day Before, Two Days Before, or One Week Before.
If you select One Day Before, Two Days Before, or One Week Before, you must also configure a specific reminder time and the Reminding Method.
Reminding Method
DataWorks can send shift reminders by SMS, email, DingTalk Chatbot, phone, webhook, and other methods. For more information about how to add a DingTalk chatbot and obtain a webhook URL, see Scenario: Send alert notifications to a DingTalk group.
NotePhone call alerts are supported only for mobile numbers in the Chinese mainland. To send alerts to mobile numbers outside the Chinese mainland, you must create a custom webhook service. DataWorks pushes messages to your webhook service, which in turn processes and forwards them to the mobile numbers.
This parameter is required only when Shift Reminder is set to One Day Before, Two Days Before, or One Week Before.
Click OK to save the shift schedule.
On the new shift schedule page, click Create Shift Plan in the upper-right corner. You can also double-click a blank area for a specific date to create a shift plan.
Configure the parameters in the Create Shift Plan dialog box.
Parameter
Description
On-duty Engineers
This parameter specifies the on-duty engineers for the shift. You can select the primary account or a RAM user of the current DataWorks workspace.
Type
Primary On-duty Engineer: The main engineer responsible for the shift.
Secondary On-duty Engineer: The backup engineer for the shift.
NoteWhen an alert is triggered, the Primary On-duty Engineer receives notifications for the first two occurrences. If the issue persists, the platform notifies both the Primary On-duty Engineer and the Secondary On-duty Engineer starting from the third occurrence.
All Day
Yes: The service is on duty 24 hours a day between the Start time and the End Time.
No: You can customize the Start time and End Time for the shift.
Start time
The time when the shift starts. You can customize the start time only when All Day is set to No.
End Time
The time when the shift ends. You can customize the end time only when All Day is set to No.
Repetition
Default: No Repetition. You can also set the repetition cycle to Daily, Weekly, Every Monday to Every Friday, Monthly, Yearly, or Custom.
If you configure a repetition cycle, the shift plan is created for all recurring instances within the selected period.
Repetition Interval
The Repetition Interval can be set to any number of days before or after the current on-call time range.
This parameter is required only when Repetition is set to Custom.
End Time
The date when the repeating shift plan ends. By default, it repeats indefinitely.
This parameter is required when Repetition is set to Daily, Weekly, Every Monday to Every Friday, Monthly, Yearly, or Custom.
NoteIn the shift plan, blue indicates the Primary On-duty Engineer and yellow indicates the Secondary On-duty Engineer.
You can create shift plans only for the current date and future dates. You cannot create shift plans for past dates.
DataWorks allows you to configure multiple primary or secondary on-duty engineers for the same shift period.
Manage shift schedules
In the Shift Schedule list, you can perform the following operations:
Search for a shift schedule by Shift Schedule Name or Administrator.
Click the
icon next to a shift schedule to Edit or Delete it.NoteThe shift schedule administrator can edit or delete the shift schedule and its associated shift plans.
You cannot delete historical or current-day shift plans.
Click a shift schedule to go to its details page.
On the details page of a shift schedule, you can perform the following operations:
In the basic information section, you can view the shift schedule details and the current on-duty engineers. If a custom monitoring rule uses this shift schedule, alerts are sent based on the shift plan. To see which rules use this schedule, click Usage next to View Details. For more information about managing custom rules, see Rule Management.
In the shift plan section, you can filter shift plans by engineer type or view shift plans for a specific month. By default, the view shows the shift plans for all on-duty engineers for the current month.
If you view shifts for a month other than the current one, you can click Back to Current Month to quickly return to the current month.
In the shift plan calendar, you can view shift details, such as the on-duty engineer, date, and type (primary or secondary). Click a shift to modify or delete it.
Manage shift schedules with an AI assistant
Use the shift schedule skill in Data Agent or the AI asistant service service to query, configure, or change a shift schedule. Provide the unique, complete name of the shift schedule and describe the information or change that you need.
Supported operations
Scenario | What you can do | Example request |
Query shifts | Query on-duty engineers and shift plan details for a specified date or time range. | Query the shift plans for this week in the |
Temporarily reassign or extend a shift | Change the on-duty engineer, start time, or end time of an existing shift. | Change the end time of |
Add a shift | Create a one-time or recurring shift, and specify the primary or secondary on-duty engineer and whether the shift is all day. | Add |
Adjust a recurring shift | Change only one occurrence or the current and future occurrences. | Change Wednesday's shift to |
Delete a shift | Delete one occurrence or the current and future occurrences of a recurring shift. | Delete the shift on |
Change a shift schedule | Change the name, administrator, or reminder settings. | Change the administrator of the |
Remove an on-duty engineer | Remove an on-duty engineer and their future shift plans. | Remove |
Confirm and verify changes
Queries run directly. Before the skill modifies, creates, or deletes a shift, changes a shift schedule, or removes an on-duty engineer, it displays a summary of the target, people, times, before-and-after values, and scope of impact. Review the summary and confirm the operation. If any information is incorrect, specify the fields that need to change.
For a recurring shift, specify whether the operation applies to this occurrence only or to this and future occurrences. After the operation completes, query the shift schedule again and use the returned on-duty engineers and times to verify the effective result.
Recommendations and limits
Use a unique, complete shift schedule name.
When changing a shift, provide the on-duty engineer and the date of the original shift so that the skill can identify the target record.
Use a complete date and time format, such as
2026-08-20 09:00.When adding a shift, specify whether the on-duty engineer is primary or secondary, whether the shift is all day, and whether it recurs.
Before deleting a shift or removing an on-duty engineer, check the scope of impact. Removing an on-duty engineer also affects their future shift plans.
You must have permission to view or manage the corresponding shift schedule.
For changes that involve multiple people or shifts, split the request into explicit operations and confirm each operation separately.