Predict service and transfer HR cases agentic workflow
On this page
Predict service and transfer HR cases agentic workflow
Analyze an HR case and automatically route it to the most appropriate HR service with the predict service and transfer HR cases agentic workflow. Optimize HR Case Management, ensuring that cases are handled by the most appropriate teams.
Overview of Predict service and transfer HR cases agentic workflow
The agents, tools, and triggers that are associated with this agentic workflow are provided by the ServiceNow Otto application. To change this agentic workflow’s instructions, duplicate it, adjust the settings, and activate the new version.
Note: Verify that the sn_hr_core.case_writer role includes the sn_uxc_gen_ai.platform_ai_field_predictor role; otherwise, the workflow will not operate as expected.
Prerequisites and setup
Perform the following steps after you Configure Group Action Framework.
Note: Run the GAF training against HR GAF Group, the skill designated for GAF activation.
-
Navigate to All > System Definition > Scheduled jobs.
-
Run HR service GAF grouping job with an admin role. This generates GAF - Run Offline Flow in the Global scope.
-
Run GAF - Run Offline Flow and monitor its progress.
Accessing the Predict service and transfer HR cases agentic workflow
To access the agentic workflow:
-
Navigate to All > AI Agent Studio > Overview.
-
Select Agentic workflows > Predict service and transfer HR cases agentic workflow.
[Omitted image “set-up-hr-predict.png”] Alt text: Accessing the Predict service and transfer HR cases agentic workflow
The first step of the guided setup includes a complete list of included AI agents. Selecting the name of an AI agent opens it in a new browser tab, where you can see the full description, role, agent instructions/prompts, and tools. Tools are displayed in the second step of the AI agent-guided setup, Add tools, and information.
Predict service and transfer HR cases agentic workflow AI agents
The following table lists the agents that are used in the Predict service and transfer HR cases agentic workflow.
Important: In the Define availability screen for the AI agent, make sure that the Status toggle is enabled to activate the AI agent.
AI agent AI agent role Record field value prediction AI agent Predicts the HR service of an incoming case. It can also provide a summary and justification of prediction. HR Case Transfer AI Agent Automatically transfers the case to the predicted service.Triggers
Activate triggers according to your organization’s requirements, and enable/disable the required COEs.
[Omitted image “trigger-predict-hr.png”] Alt text: Activating the triggers for the Predict service and transfer HR cases agentic workflow.
In the Predict service and transfer HR cases agentic workflow, review the information in the Describe and connect section, make the necessary updates to ensure the agentic workflow adapts to your requirements, and then select Save and Continue.
Executing a test scenario
You can run this workflow on the Testing page of AI Agent Studio with the following utterance in the Task field: “Help me predict and transfer HR case with number ”HRC000XXX“ with ”sys_id “ and table ”sn_hr_core_case“.
The AI agent decision log displays the AI agents that are working to predict and transfer the case, and you can watch their interactions, decisions, and thought processes as they happen in real time.[Omitted image “test-predict-service.png”] Alt text: Testing input for the agentic workflow.[Omitted image “test-predict-service1.png”] Alt text: Testing output for the agentic workflow.
Prediction and transfer results on Agent Workspace for HR Case Management
This is an example of how the agentic workflow automatically identifies the appropriate HR service for a case, and transfers the case to the identified service.
[Omitted image “hr-predicted-service.png”] Alt text: Prediction and transfer results on Agent Workspace for HR Case Management
Keep exploring.
Find another answer, or bring this documentation into your own tools.