I have to add HR Profile table field 'scheduled start date' on Onboarding HR Service.

niveditakumari
Mega Sage

Hi, 

 

I have to add HR Profile table field 'scheduled start date' on Onboarding HR Service and that field should be editable. I have to dot walk in this field to Onboarding case. 

Can you please help me to get it. 

 

Regards, 

Nivedita

1 ACCEPTED SOLUTION

@niveditakumari Sorry for keep you waiting for so long. As discussed here is how you need to configure the ACL on HR Profile table.

Create following ACL on HR Profile Table and employment start date field

Screenshot 2023-05-10 at 11.46.33 PM.png

Here is how you need to configure the script.

Screenshot 2023-05-10 at 11.47.46 PM.png

 

Here is the script.

answer=false;
if(gs.getUser().isMemberOf('HR Tier 1')){ //replace HR Tier1 with your group name
	answer = true;
}

 

Here is how the dot walked field look on the HR Case form once the ACL is in place.

Screenshot 2023-05-10 at 11.53.17 PM.png

Hope this helps.

View solution in original post

35 REPLIES 35

The ACL looks okay to me. What issue you are facing after applying this ACL? Are you checking with the user who is part of this group?

Hi @Sandeep Rajput

 

I have created HR case and that is not assigned to 'Leader Services' group and then also scheduled start date is editable. I want scheduled start date should be editable with Leader services group members. 

 

Regards, 

Nivedita

 

 

It is editable for anyone. I want scheduled start date should be editable with Leader Services group members only and for other employee that field should be read only.  

 

Regards, 

Nivedita

 

 

@niveditakumari Can you check if there is any other ACL which is defined on this custom field? As the ACL you created looks good to me. There must be some other write ACL defined on this field which is providing access to other users.

Hi @Sandeep Rajput

 

I have corrected it and it is working now. 

Thank you. 

 

Regards, 

Nivedita