HR Checklist in HR cases visibility restriction

Utsa_Mukherjee
Tera Contributor

Hi all,

There is a requirement in our project for "checklist on HR cases" to be visible based on country wise. We want to make these checklists to be visible for only 1 country and not others. All the countries are using the same HR service. Can someone please tell if we can restrict checklist based on subject person's country on the HR case?

If yes, please provide the steps to implement the same.

 

 

4 REPLIES 4

Sohail Khilji
Kilo Patron
Kilo Patron

Try onload client script something like this :

function onLoad() {

        var country = g_user.country.getDisplayValue(); 

    if (country == 'USA') {

              g_form.getElementById('inlineChecklistApp').style.display = "none";
    } 
}

  


☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....

LinkedIn - Lets Connect

inlineChecklistApp- I believe this a Checklist name which you are passing through the method "getElementById". Can you please clarify? @Sohail Khilji

here you need to pass the element id of hr check list field.


☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....

LinkedIn - Lets Connect

Wessel van Enk
Tera Guru
Tera Guru

Hello,

Checklists are by default part of the HR Service, so you can only achieve this by creating a script (which is customization) or you can let the other countries use a separate HR Service without a checklist. 

 

Example:
HR Service 1 with checklist = Used by NL based on criteria
HR Service 2 without checklist = used by other countries based on criteria 

 

You can filter the use of the services by HR- or User Criteria.