HR Service in Transfer case

Drishti
Tera Guru

Hi Community,

On HR Agent workspace we have a Transfer case button. When we click on that , we will get a dialog box having several fields one of them is HR Service.

Any idea from where the dropdown value is coming in that list ?

NOTE : I already have checked the UI action and the script include hr_CaseTransferAjax.  We have method inside this - _getServices . I tried putting logs to check but no logs are coming. 

If anyone can help with exactly where the dropdown values are coming in the transfer case dialog box for HR SErvice that will be highly grateful.

4 REPLIES 4

Ankur Bawiskar
Tera Patron

@Drishti 

with this article you will get to know

Exclude HR Services from Transfer Case HR Service dropdown 

the HR Services come from getServicesForUser method inside hr_CaseCreation script include

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

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

@Ankur Bawiskar :The thing is , I already had done the changes here, and when I am trying to get logs , I am not getting any logs.

Also, I can't make changes directly inside "getServicesForUser" as this will impact case creation from backend.

Screenshot attached.

 

@Drishti 

what's your question?

You wanted to understand how it works or want to change something?

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

As you can see in the screenshot, I want to restrict some of the HR servcies mentioned in System property for agent from german so that they can't use those services while transferring case.

I have written the script and this is not working. I use log to see which line is not working but I am not getting logs even.