Some PDIs are currently unavailable, and PDI actions are paused. View the latest updates here. Read More

How to join tables for reporting in HRSD?

DeniseLeighton
Tera Contributor

Hello, Can you direct me to a knowledge article on joining of two tables for reporting in HRSD. 

[task_sla]  [sn_hr_core_case]

Currently on Yokahama. 

Thank you

2 ACCEPTED SOLUTIONS

Tanushree Maiti
Tera Patron

Hi @DeniseLeighton 

 

Create a Database View to join table [task_sla]  [sn_hr_core_case] . then report from this .

  1. Navigate to System Definition > Database Views.
  2. Click New.
  3. Name: hr_case_task_sla  //name it as you want
  4. Label: HR Case TASK SLA.
  5. Save the record.
  6. In the View Tables related list, click New. 

 

Table                              Order            Variable prefix                  Where Clause

task_sla                        100                     sla
sn_hr_core_case        200                   hrcase                        sla_task = hrcase_sys_id

 

 

 

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

View solution in original post

Ankur Bawiskar
Tera Patron

@DeniseLeighton 

out of the box there is a database view joining task_sla and incident

Similarly do for sn_hr_core_case and task_sla

both sn_hr_core_case and incident extend task table

55.png

💡 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

2 REPLIES 2

Tanushree Maiti
Tera Patron

Hi @DeniseLeighton 

 

Create a Database View to join table [task_sla]  [sn_hr_core_case] . then report from this .

  1. Navigate to System Definition > Database Views.
  2. Click New.
  3. Name: hr_case_task_sla  //name it as you want
  4. Label: HR Case TASK SLA.
  5. Save the record.
  6. In the View Tables related list, click New. 

 

Table                              Order            Variable prefix                  Where Clause

task_sla                        100                     sla
sn_hr_core_case        200                   hrcase                        sla_task = hrcase_sys_id

 

 

 

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

@DeniseLeighton 

out of the box there is a database view joining task_sla and incident

Similarly do for sn_hr_core_case and task_sla

both sn_hr_core_case and incident extend task table

55.png

💡 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