Log Service allows you to create on-duty groups to arrange shifts based on cycles and business hours. This topic describes how to create an on-duty group.

Prerequisites

A user or a user group is created. For more information, see Create users and user groups.

Procedure

  1. Log on to the Log Service console.
  2. Go to the Shift Group Management page.
    1. In the Projects section, click the project that you want to view.
    2. In the left-side navigation pane, click Alerts.
    3. On the Alert Center page, choose Alert Management > Shift Group Management.
  3. Click Create.
  4. In the Add Shift Group dialog box, configure the parameters. The following table describes the parameters.
    Parameter Description
    Identifier The unique identifier of the on-duty group.
    Group Name The name of the on-duty group.
    Enable Specifies whether to enable the on-duty group.
    • If you turn on Enable, the on-duty group is enabled, and you can use the on-duty group to arrange shifts.
    • If you turn off Enable, the on-duty group is disabled, and you cannot use the on-duty group to arrange shifts.
  5. Configure a shift plan.
    Log Service provides the following views for a shift plan: Final Shift Plan, Work Shifts, and Substitute Shifts. After you configure a rotating shift or a substitute shift, you can view the final schedule on the Final Shift Plan chart. If an employee in an on-duty group is unavailable, you can assign a substitute employee by using the substitute shift feature.
    1. Configure a rotating shift.
      1. Choose jiahao > Work Shifts.
      2. In the Add Work Shift dialog box, configure the parameters and click Save. The following table describes the parameters.
        Parameter Description
        Start At The time when the rotating shift starts.
        End Time The time when the rotating shift ends.
        Limit The time range in which the rotating shift is valid.
        • None: The rotating shift is valid 24 hours every day.
        • Business Days: The rotating shift is valid only on business days. You can specify a custom time range.
        • Non-Business Days: The rotating shift is valid only on non-business days. You can specify a custom time range.
        • Every Day: The rotating shift is valid every day. You can specify a custom time range.
        • Every Week: The rotating shift is valid in the specified time ranges every week.
        Object The employee who is on duty. You can select multiple users and user groups.
        Note If a user or a user group is disabled, the user or user group is automatically filtered out when you configure a rotating shift.
        Shift Type The type of the rotating shift. Valid values: Hourly Shift, Daily Shift, Weekly Shift, and Monthly Shift.
        Shift At The time when the rotating shift switches based on the shift type. You can configure this parameter based on your business requirements.
    2. Optional:Configure a substitute shift.
      If an employee in an on-duty group is unavailable, you can assign a substitute employee by using the substitute shift feature.
      1. Choose jiahao > Substitute Shifts.
      2. In the Add Substitute dialog box, configure the parameters and click Save. The following table describes the parameters.
        Parameter Description
        Object The original employee who is on duty. You can select multiple users.
        Substitute The substitute employee who you want to assign. You can select only one user.
        Start At The time when the substitute shift starts.
        End Time The time when the substitute shift ends.

        You can select an end time for the substitute shift. The substitute shift can end at the end of the current week, the following week, the current quarter, or the current year. You can also specify a custom end time for the substitute shift.

        Limit The time range in which the substitute shift is valid.
        • None: The substitute shift is valid 24 hours every day.
        • Business Days: The substitute shift is valid only on business days. You can specify a custom time range.
        • Non-Business Days: The substitute shift is valid only on non-business days. You can specify a custom time range.
        • Every Day: The substitute shift is valid every day. You can specify a custom time range.
        • Every Week: The substitute shift is valid in the specified time ranges every week.
    3. View the final shift plan.
      Choose Rotating Shift and Substitute Shift > Final Shift Plan. d
  6. Configure a calendar.
    You can select Custom Calendar or Global Default Calendar. You can specify or reset the time zone, non-business days, business days, and business hours for a custom calendar. The time that you specify for a rotating shift and substitute shift varies based on the settings of the calendar.
    • Custom Calendar: the custom calendar. If you select Custom Calendar, you can modify calendar settings such as the business days and non-business days. The calendar settings are valid only for the on-duty group.
    • Global Default Calendar: the default calendar for the preset country. If you select Global Default Calendar, the current on-duty group uses the same calendar as other on-duty groups. For more information, see Modify the global default calendar.
  7. Click Save.