#008 – How to Configure Employee Satisfaction Surveys in Oracle Fusion HR Help Desk (26C) 

Introduction

Oracle Fusion HCM 26C provides the ability to collect employee satisfaction feedback after an HR Help Desk request is resolved in the Redwood Experience. Administrators can create a survey template using Oracle AI Agent studio, configure the object workflow to send an email when a request meets the required condition and allow authorized agents to review submitted responses.

In this article, we will walk through the main configuration steps for enabling and testing employee satisfaction surveys for HR Help Desk requests.

Before you begin

Make sure the administrator performing the setup has the required access. 

  • Access to AI Agent Studio.
  • Permissions to activate and publish a sandbox. 
  • Create object event triggers.
  • Create web services in Application Composer.
  • Create Object Workflow 
  • Create Email Template 

Step 1: Enable the Surveys feature

First, enable the Surveys feature from Setup and Maintenance.

  1. Navigate to Setup and Maintenance.
  2. Select the Service offering.
  3. Select Change Feature Opt In.
  4. Locate Surveys.
  5. Select Enable and click Done.

After enabling the feature, continue with the survey template creation.

Step 2: Create a survey using the Survey Authoring Agent Team

Oracle provides the Survey Authoring Agent Team in AI Agent Studio to help administrators create or update survey templates.

In this step, we will use the agent to create an employee satisfaction survey for HR Help Desk requests. The detailed navigation and survey template creation process covered in a separate article under the Oracle AI Agent category.

Step 3: Create the object event trigger

The object event trigger controls when the survey request is created, code will be executed when request status changes to Resolved. For HR Help Desk surveys, enable sandbox and navigate to Application Composer and create the below trigger. 

/*
// Created By: Deepak Kesarwani
// Trigger Name: Send HRHD Survey
// Trigger Type: Before Update in Database
*/

if (isAttributeChanged('StatusCd') && StatusCd == 'ORA_SVC_HRHD_RESOLVED') { 
   try { 
       def srId = SrId 
       def primaryContactPartyId = PrimaryContactPartyId 
	   def assigneeResourceId = AssigneeResourceId 
       def objectTypeCd = 'ORA_SVC_SERVICE_REQUESTS_HRHD' 
 
       // Hardcoded SurveyId 
       def surveyId = "<Add your Survey ID>" 
 
       def createSurveyWS = adf.webServices.CreateSurveyRequestWS 
 
       createSurveyWS.requestHTTPHeaders = [ 
           'Content-Type': 'application/json', 
           'Accept'      : 'application/json' 
       ] 
 
       def surveyRequestPayload = [ 
           SurveyId      : surveyId, 
           ObjectId      : srId, 
           ObjectTypeCd  : objectTypeCd, 
           PartyId       : primaryContactPartyId, 
           RespondedFlag : 'N', 
           OwnerId       : assigneeResourceId 
       ] 
 
       def surveyRequestResponse = createSurveyWS.POST(surveyRequestPayload) 
 
      if (!surveyRequestResponse) { 
           println("Error: Survey Request response is null.") 
           return 
       } 
 
       def surveyRequestId = (surveyRequestResponse as Map)?.SurveyRequestId?.toString() 
 
       if (!surveyRequestId) { 
           println("Error: Failed to retrieve SurveyRequestId.") 
           return 
       } 
         
	  	   
	   /*
     // Pseudo Code
     // Capture Survey Request ID in variable
     // and, Set Flag To "Y"
     */
	   
 
   } catch (Exception e) { 
       println("Error: ${e.getMessage()}") 
       e.printStackTrace() 
   } 
} 

Step 4: Create the Survey Request REST web service

The trigger uses a REST web service to create the survey request. Create this connection in Application Composer.

NameCreateSurveyRequestWS 
URLhttps://<Your POD>/crmRestApi/resources/latest/surveyRequests 
Authentication Scheme Propagate user identity using SAML over SSL 
Method TypePost
FormatJSON
Request Payload{“SurveyId”: 300100205501361,            “ObjectId”: 300100111024246,            “ObjectTypeCd”: “ORA_SVC_SERVICE_REQUESTS”,            “PartyId”: 100010025532672, “RespondedFlag”: true,”OwnerId”: 300180909101}
Response Payload{            “SurveyRequestId”: 300100205501367,            “SurveyId”: 300100205486361,            “ObjectId”: 300100111024263,            “ObjectTypeCd”: “ORA_SVC_SERVICE_REQUESTS”,            “PartyId”: 100010025532672,            “CreationDate”: “2020-04-08T09:25:28+00:00”,            “CreatedBy”: “SALES_ADMIN”,            “LastUpdateDate”: “2020-04-08T09:25:28.077+00:00”,            “LastUpdatedBy”: “SALES_ADMIN”,            “LastUpdateLogin”: “A2695E930113EAC9E0533CFDF40AD639”,            “ObjectVersionNumber”: 1,            “RespondedFlag”: false,            “ResponseDate”: null,            “VendorRequestId”: “300100205501367”,            “OwnerId”: null,            “SurveyTemplateName”: “Yearly Survey”,            “links”: [                {                    “rel”: “self”,                    “href”: “https://servername.fa.us2.oraclecloud.com/crmRestApi/resources/11.13.18.05/surveyRequests/300100205501367”,                    “name”: “surveyRequests”,                    “kind”: “item”,                    “properties”: {                        “changeIndicator”: “ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178”                    }                },                {                    “rel”: “canonical”,                    “href”: “https://servername.fa.us2.oraclecloud.com/crmRestApi/resources/11.13.18.05/surveyRequests/300100205501367”,                    “name”: “surveyRequests”,                    “kind”: “item”                },                {                    “rel”: “child”,                    “href”: “https://servername.fa.us2.oraclecloud.com/crmRestApi/resources/11.13.18.05/surveyRequests/300100205501367/child/responses”,                    “name”: “responses”,                    “kind”: “collection”                }            ]        }

Step 5: Enable the Show Survey Results SmartAction

To allow authorized agents to review survey responses from the Help Desk request, enable Show Survey Results smart action from the application composer.

Step 6: Configure Object Workflow & Email Notifications

To send a survey mail to employees when their HR Help Desk request is resolved, create an object workflow for the HR Help Desk Request object and trigger survey notification to the employee when the condition is met.

Conclusion

Oracle Fusion HCM 26C enables organizations to collect employee satisfaction feedback after HR Help Desk requests are resolved. By configuring the survey template, object event trigger, REST web service, email notification, and survey response viewing, organizations can capture employee feedback and associate it with the corresponding HR Help Desk request.

Before moving the configuration to production, it is important to test the complete process. Validate the trigger conditions, survey recipient, email notification, response association, agent access, and OTBI reporting. Once everything is working as expected, organizations can use survey feedback to identify improvement areas and enhance the overall HR Help Desk experience.

Official Oracle reference

Oracle Help Desk 26C What’s New: Send employee satisfaction surveys after a Help Desk request is resolved

https://docs.oracle.com/en/cloud/saas/readiness/service/26c/shde-26c/26C-helpdesk-wn-f38048.html

Leave a Reply

Your email address will not be published. Required fields are marked *