Use PDIs? Take our 5-minute survey to help shape the PDI roadmap.

Transfer Case Configuration in HR CASE

BiswajitD
Tera Contributor

I want to remove “Request HR Report” and “New Hire Onboarding Journey” from the dropdown list.

Could anyone please let me know how this can be configured?

BiswajitD_0-1788269557882.png

 

 

1 REPLY 1

sachinchaudhary
Tera Expert

 

@BiswajitD 

Hi,

Yes, you can remove specific HR Services from the Transfer Case → New HR Service dropdown.

If you want to exclude them from both HR Case Creation and Transfer Case, use Case Creation Configuration (sn_hr_core_config_case_creation) and add conditions under Limit service conditions.

 

If you want to exclude them from the service list returned by getServicesForUser(), the OOTB sn_hr_core.hr Script Include contains an EXCLUDED_SERVICES list. Add the sys_ids of the HR Services you want to exclude to that list.

So, for your example, add the sys_ids of:

  • Request HR Report
  • New Hire Onboarding Journey

This will cause those services to be excluded from the returned list.

 

Note: Updating sn_hr_core.hr means modifying an OOTB Script Include, so I would prefer the Case Creation Configuration approach where applicable. Use the Script Include approach only when you specifically need the exclusion behavior provided by EXCLUDED_SERVICES.