How to bring subject person and opened for field from HR case form to HR task form

Peeyush Jaroli
Tera Expert

Dear Community Members,

I have a requirement where I need to show Opened for and Subject Person field on HR task form.

Both the fields are available on HR case form but is there any way I can bring them to HR task form?

Regards,

Peeyush Jaroli

1 ACCEPTED SOLUTION

Hi Peeyush,

please see steps below:

1) Ensure you select HR Core Scope from application picker before creating field

2) create new field on HR Task (sn_hr_core_task) form of type Reference and Referring to HR Case table (sn_hr_core_case)

3) Submit the form

4) now configure form layout of HR Task

5) Locate the fields and then bring them on form

find_real_file.png

find_real_file.png

find_real_file.png

 

find_real_file.png

Mark Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Ankur

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

View solution in original post

11 REPLIES 11

Ankur Bawiskar
Tera Patron
Tera Patron

Hi Peeyush,

you can dot walk to HR Case and bring those

1) configure form layout

2) Click on Parent field -> expand using + icon and then bring the fields from left side to right side of slush bucket

Mark Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Ankur

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

Hi Ankur,

Thanks for responding.

I already tried that but both the field are not appearing in the list:

find_real_file.pngfind_real_file.png

 

Hi Peeyush,

I think since there is no field on HR Task which refers HR Case it is not possible

the fields Opened for and Subject Person are from HR Case table

The parent field on HR Task refers to task and hence it won't show those 2 fields as those are at child tables. I think it is expected behavior.

In case this is required please go ahead and create a field on HR Task that has HR Case's reference & then you can dot-walk & then bring in required fields.

Mark Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Ankur

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

I'm bit new to ServiceNow world and learning things.

any article showing how can I do that..will be really helpful.