The Zurich release has arrived! Interested in new features and functionalities? Click here for more

setting a default HR service

marcn
Tera Expert

I'm looking to set a default HR service when a new case is created via agent workspace.


didnt find a way to do it in "case creation configuration"

any one has tried something similar ?


4 REPLIES 4

Shruti
Mega Sage
Mega Sage

Hi,

You can limit the HR services on case creation configuration.

Navigate to HR administration -> Case creation configuration

Check the limit services and update service condition

Shruti_0-1758085571894.png

 

Ankur Bawiskar
Tera Patron
Tera Patron

@marcn 

you can't set a Default HR Service in Case Creation Page as it's not available OOTB as config.

I don't think it's a good idea to allow always 1 HR Service.

Each HR case can be for different purpose.

Discuss this with your customer.

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

@marcn 

Hope you are doing good.

Did my reply answer your question?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

SupriyaWaghmode
Kilo Sage

Hello @marcn ,

 

You can create a Business Rule within the Agent Human Resource scope using the following details: target table – sn_hr_core_case. The condition should check if any channel value is set once the case is created via the agent

(function executeRule(current, previous /* GlideRecord */ ) {

    // Replace with the sys_id of your default HR Service
    var defaultHRServiceSysId = 'add_sys_id_hr_service';

    current.hr_service = defaultHRServiceSysId;

})(current, previous);

  

Thanks & Regards ,

Supriya Waghmode |ServiceNow Consultant