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 how are you setting the value on this field? Via script? Could you please paste your script here.

Hi @Sandeep Rajput

 

I have added scheduled start date using form layout as you have mentioned. 

Can you please tell what should I check for that. 

 

Regards, 

Nivedita

 

 

Came across this knowledge article https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0754233 this is a know issue with dot walked field. If you wish to update the employment start in this case, then instead of having a dot walked field, I recommend having a custom field on the HR Case table and update the value on employment start  on HR Profile once the value on custom field on the case form changes. This can be achieved using an onBefore insert/update business rule.

I have read this article here it has mentioned that when we put any value to dot walkin field then also it doesn't save that value we will get blank field value but I tried this way to my requirement and I'm able to save that value in scheduled start date field. 

Can you please help me to get it. 

 

Regards, 

Nivedita

 

 

Hi @Sandeep Rajput

 

We are having scheduled start date on Subject Person HR Profile table then it should set that value in HR case form also correct?

Shall I create script to get it. 

 

Regards, 

Nivedita