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

@niveditakumari Apply the ACL at HR Profile table.employment start date field and check if the user is part of the group. Give it a try, if it doesn't work, I will share the script.

Hi @Sandeep Rajput

 

It is not working and I'm not able to dot walked schedule start date. 

Can you please help with code. 

 

Regards, 

Nivedita

 

 

Hi @Sandeep Rajput

 

Can you please help me with code. 

 

Regards, 

Nivedita

 

 

Hi @Sandeep Rajput

 

Can you please help me with code. 

 

Regards, 

Nivedita

 

 

@niveditakumari Sorry I was occupied today, will share the code tomorrow morning.