We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

How can we dotwalk field from parent HR case to its HR task

rishabhgarg
Tera Contributor

I have created a custom field on HR case table and i want to make this field visible on HR task as well for HR agents, I tried dotwalking from parent field but parent field is referenced to Task table.

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron

@rishabhgarg 

this is possible using Configure Form Builder

No need to create a custom field on HR Task

Example below:

hr case field on HR task form builder.gif

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

4 REPLIES 4

Tanushree Maiti
Tera Patron

Hi @rishabhgarg 

 

  • Create a custom Reference field  u_parent_hr_case in HR Task table
  • Auto-Populate the Reference Field via Business Rule. Using Before Insert Business Rule on the HR Task table to automatically populate your new reference field with that same sys_id as of HR Case
  • Dot-Walk the Custom Field onto the Form using Configure > Form Layout

Refer: https://www.servicenow.com/community/hrsd-forum/problem-with-dot-walking-parent-field-in-extended-ta...

Please Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti

Ankur Bawiskar
Tera Patron

@rishabhgarg 

this is possible using Configure Form Builder

No need to create a custom field on HR Task

Example below:

hr case field on HR task form builder.gif

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

Hi @Ankur Bawiskar 
When i am trying to populate something in the field, it is not getting saved as soon as I save the form the value clears automatically. What could be the possible solution for it?

 

@rishabhgarg 

that's not how dot walked fields behave

they are simply used to show values from parent and not for saving from child record

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader