Configurar categorias de evento

  • Versão de lançamento: Yokohama
  • Atualizado 30 de jan. de 2025
  • 1 min. de leitura
  • Adicione categorias de evento e crie ou atualize configurações de campo para eventos no Espaço para gerentes.

    Antes de Iniciar

    Função necessária: sn_hr_wfo.admin

    As seguintes configurações de categoria de evento estão disponíveis por padrão:
    • Trabalho real
    • Pausa
    • Reunião
    • De plantão
    • Licença do plantão
    • Folga
    • Treinamento
    • Trabalho

    Procedimento

    1. Navegar até Tudo > Otimização da força de trabalho para RH > Programando > Categorias do evento.
    2. Na lista Categorias de evento, clique em Novo.
    3. No campo Nome, insira um nome para a categoria de evento.
    4. Se você quiser excluir esta categoria de evento do cálculo de cobertura do agente, ative a caixa de seleção Excluir da cobertura.
    5. Na caixa de diálogo Configuração do campo de evento, edite a configuração a seguir, conforme necessário:
      Nota:
      Você pode remover qualquer propriedade que não se aplique a um tipo de evento.
      {
                  "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. Clique em Enviar.