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

Hi @Sandeep Rajput

 

How you are getting value on Employment start date field. 

 

Regards, 

Nivedita

 

 

Since this is a dot walked field, any value which is saved on HR Profile Employment start date field, will be shown here on the HR case. You can test this by going to HR Profile record, update the employment start date field there and when you use the subject person with same HR profile on the HR case the employment date would be pre-populated from the HR Profile.

 

Correct. It should work like this Scheduled start date should set value from Subject Person HR Profile field but it is not working like this. I'm creating HR case and I'm getting blank scheduled start date field. 

 

Regards, 

Nivedita

 

 

Did you check on the HR Profile if the value for employment start date exists there or not?

 

Yes I have checked it is there. 

To achieve this functionality do we have any script? 

 

Regards, 

Nivedita