イベントカテゴリの構成

  • リリースバージョン: Yokohama
  • 更新日 2025年01月30日
  • 所要時間:2分
  • マネージャーワークスペースでイベントカテゴリを追加し、イベントのフィールド構成を作成または更新します。

    始める前に

    必要なロール:sn_hr_wfo.admin

    次のイベントカテゴリ構成をデフォルトで使用できます。
    • 実際の作業
    • ブレーク
    • 会議
    • オンコール
    • オンコール休暇
    • 休暇
    • トレーニング
    • 勤務先

    手順

    1. 次のように移動する。 All (すべて) > HR 向けワークフォース最適化 > スケジュール > イベントカテゴリ.
    2. [イベントカテゴリ] 関連リストで、[新規] をクリックします。
    3. [名前]フィールドで、イベントカテゴリの名前を入力します。
    4. エージェントのカバレッジ計算でこのイベントカテゴリを除外するには、[カバレッジから除外] チェックボックスをオンにします。
    5. [イベントフィールド構成] ダイアログボックスで、必要に応じて次の構成を編集します。
      注:
      イベントのタイプに適用されない任意のプロパティを削除できます。
      {
                  "create": {                //Creates an event type form
                      "attendees": {         //Adds the Attendees field       
                      "mandatory": true,     //Sets this field as mandatory
                      "readOnly": false,     //Sets this field as read-only
                      "allowAllUsers": false //Allows you to only add users managed by the logged-in user; to add any user, set this value to true
                      },
                      "startDate": {    
                      "mandatory": true,
                      "readOnly": false
                      },
                      "endDate": {
                      "mandatory": true,
                      "readOnly": false
                      },
                      "additionalSelectors": [    //Add custom fields to the form
                      {
                          "fieldLabel": "Select Shift", //Name of the field that displays on the form
                          "table": "sn_shift_planning_shift_plan", //Name of the table referenced by the field
                          "field": "name", //Any field from the selected table whose display values must be shown in the custom field
                          "value": "",
                          "mandatory": true,
                          "additionalQueryString": ""
                      }
                      ]
                  },
                  "edit": {                    //Edit an event type form
                      "attendees": {
                      "mandatory": true,
                      "readOnly": false,
                      "allowAllUsers": false
                      },
                      "startDate": {
                      "mandatory": true,
                      "readOnly": false
                      },
                      "endDate": {
                      "mandatory": true,
                      "readOnly": false
                      },
                      "additionalSelectors": [
                      {
                          "fieldLabel": "Select Shift",
                          "table": "sn_shift_planning_shift_plan",
                          "field": "name",
                          "value": "",
                          "mandatory": true,
                          "additionalQueryString": ""
                      }
                      ]
                  }
              }
    6. [送信] をクリックします。