Set up routing of HR cases in ServiceNow HR Agent Workspace
- Genesys Cloud CX 1, Genesys Cloud CX 2, or Genesys Cloud CX 3 license with Work Automation Add-on in the Genesys Cloud org.
- Install and configure the lates version of the Unified Experience from Genesys application in ServiceNow.
- Administrator access in Genesys Cloud to create custom attributes, workbins, worktypes, and queues.
- Administrator access in ServiceNow to configure HR case routing objects.
- security_admin role in ServiceNow to approve or create restricted caller access records as required.
- Human Resources: Core application installed in ServiceNow with scope ID sn_hr_core.
- HR Agent Workspace application installed for agents to work routed HR items in their workspace.
Configure Genesys Cloud work automation together with ServiceNow HR Agent Workspace to route HR cases to the right agents. This setup lets you define how HR cases are distributed based on queue assignment, routing logic, and agent capacity, so the appropriate agents receive HR case workitems automatically and efficiently. HR case routing requires the HR application package, cross-scope privileges, and restricted caller access approvals, since the HR tables are owned by the sn_hr_core application scope rather than a shared scope.
The configuration uses Genesys Cloud work automation to receive and route ServiceNow HR workitems, and includes Genesys Cloud custom attributes, a workbin, a worktype, and routing queues, along with ServiceNow service channel and external queue setup.
To process HR cases routed from ServiceNow, add work automation in Genesys Cloud. A basic configuration of work automation involves creating custom attributes for work automation, creating workbins, and defining worktypes.
Add the following three attributes in the schema that defines your workitem for routing task-based items from ServiceNow:
sn_document_id_textsn_document_table_textsn_work_item_id_text
Create custom attributes for work automation
- Click Admin.
- Under Work Automation, click Custom Attributes.
- Click Menu > Orchestration > Work Automation > Custom Attributes.
- Click Create Schema.
- Enter the following details for the schema:
- A unique name for the schema
- A description that defines the worktype
- Click Add Custom Attribute.
- Add the following two attributes with the specified field types and length of the field:
Attributes Field Type Length of the field sn_document_id_textSmall Text Field Minimum Length: 0
Maximum Length: 100sn_document_table_textSmall Text Field Minimum Length: 0
Maximum Length: 100sn_work_item_id_textSmall Text Field Minimum Length: 0
Maximum Length: 100 - Click Save.
Create a workbin
Workbins are asynchronous storage areas that belong to a division. Workitems are stored in the workbins.
- Click Admin.
- Under Work Automation, click Workbin. The workbin dashboard opens.
- Click Menu > Orchestration > Work Automation > Workbins. The workbin dashboard opens.
- Click Create New Workbin.
- Enter the following details:
- Name – A unique name for the workbin.
- Description – A description that describes the nature of workitems in the workbin.
- Division – Select the division to which the workbin must belong. Once set, you cannot change the division of a workbin.
- Click Save.
Define a worktype
The case details that must be processed and routed to the correct queue or agent are defined in the worktype.
- Click Admin.
- Under Work Automation, click Worktypes. The worktype dashboard opens.
- Click Menu > Orchestration > Work Automation > Worktypes. The worktype dashboard opens.
- Click Create New Worktype.
- Enter the following details:
- Name – A unique name for the worktype.
- Description – A description that best describes the purpose of the worktype.
- Workbin – Either select an existing workbin and the division or create a new workbin.
- Click Save.
You can modify the following settings of the worktype:
- Properties – Select the ServiceNow schema that contains the attributes
sn_document_id_text,sn_document_table_text, andsn_work_item_id_text. - Routing – Enable routing to route cases of specific worktypes to a defined queue.
- Rules – To automate the actions of a workitem, create rules for a worktype and from Architect associate the worktype with a workitem flow.
Get the worktype Id
You require a worktype Id for setting the external routing of a queue in ServiceNow. To get the worktype Id in Genesys Cloud:
- Click Admin.
- Under Work Automation, click Worktypes. The worktype dashboard opens.
- Click Menu > Orchestration > Work Automation > Worktypes. The worktype dashboard opens.
- Select the worktype for which you want to get the Id.
- Examine the URL in your browser’s address bar. The URL is of the following format:
https://<Genesys_Cloud_region>.com/directory/#/admin/worktypes/37a4152c-xxxx-42a3-91e1-xxxxa930473a/summary
- Locate the worktype Id, which is a unique string of characters. For example, 37a4152c-xxxx-42a3-91e1-xxxxa930473a is the worktype Id in the specified URL.
For more information, see Defining a worktype.
Create a queue that will receive the routed HR workitem or verify that an existing queue is ready for use. Ensure that the queue has:
- A name that clearly identifies the HR case routing purpose.
- The appropriate agents or groups assigned to it.
- Required routing rules, skills, or memberships used in the organization applied.
For more information, see Create and configure queues.
Set up and activate the service channel for HR work assignment in ServiceNow. For more information, see Create or configure a service channel.
- Log in to ServiceNow.
- Navigate to All > Service Channels.
- Click New.
- Enter the following information for the service channel:
- Name – Name of the service channel to be configured.
- Inbox Order – The order in which the service channel items appear in the agent inbox.
- Active – Select the option.
- Table – Select HR Case [sn_hr_core_case] from the list.
- Assign to field – Select Assigned to from the list.
- Assignment group field – Select Assignment group from the list.
- Under the Capacity and Utilization section, enter the following details:
- Default work item size – Enter 1 as the value.
- Default capacity – Enter 1 as the value.
- Utilization condition – Add the following conditions:
- Task Type is HR Case.
- Click Submit.
Configure the presence states with the service channel created for HR work assignment. From the ServiceNow workspace, navigate to Advanced Work Assignment > Presence States. For all the presence states that are used by the agents who receive HR work, ensure to add the service channel created for HR work assignment.

agent.offline error when attempting to assign the workitem.For more information, see Create presence states in ServiceNow.
Before you create external queues in ServiceNow, create and configure queues in Genesys Cloud.
With the setup of Unified Experience from Genesys and ServiceNow integration, administrators must create queues in ServiceNow that are externally routed to Genesys Cloud. When you create a queue in ServiceNow, select the External option and enter the following information:
- Provider – Click the Lookup using list icon and select Genesys Cloud (Workitem).Note: Select the one Genesys Cloud (Workitem) external provider used across your Unified Experience implementation, rather than creating a separate external provider for each record type.
- Provider queue ID – Enter the Genesys Cloud queue ID. For more information, see How can I get the queue ID for my ServiceNow integration in Genesys Cloud?
- External request ID – Enter the worktype Id that you created for work automation in Genesys Cloud.
This setup links ServiceNow assignment behavior with Genesys Cloud work automation routing.
Create the required sys_scope_privilege records so that the Genesys application scope can read HR tables.
| Source scope | Target scope | Operation | Type | Target |
|---|---|---|---|---|
| x_inics_genesys | sn_hr_core | read | Table | sn_hr_core_case |
| x_inics_genesys | sn_hr_core | read | Table | sn_hr_core_case_operations |
| x_inics_genesys | sn_hr_core | read | Table | sn_hr_core_task |
The HR tables are not made available to all application scopes and hence these records are required.
Create or approve the required sys_restricted_caller_access records for HR case routing.
Source record
| Source scope | Target scope | Status |
|---|---|---|
| x_inics_genesys | sn_hr_core | Allowed |
| Genesys integration scope | HR core scope | Approved for read access |
Target record
| Operation | Target scope | Owning scope | Status |
|---|---|---|---|
| read | Scope-level access | sn_hr_core | Allowed |
| read | sn_hr_core_case_operations | sn_hr_core | Allowed |
| read | short_description | sn_hr_core | Allowed |
| read | description | sn_hr_core | Allowed |
| read | number | sn_hr_core | Allowed |
For more information, see About Unified Experience from Genesys and ServiceNow.
[NEXT] Was this article helpful?
Get user feedback about articles.