Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

How to create a database view with a join on the enterprise_taxonomy_node table

vijani
Giga Guru

I have created the following database view by joining three tables, but the data is not populating as expected. Could anyone please help me resolve this issue?
enterprise_taxonomy_node 
sn_templated_snip_note_template 
sn_hr_core_fulfillment_instructions 

vijani_0-1734441371247.png

when i am clicking try it, it's showing empty like below 

vijani_2-1734441411120.png

 

3 REPLIES 3

Runjay Patel
Giga Sage

Hi @vijani ,

 

try like below.

 

Primary TableJoin TableJoin Condition
enterprise_taxonomy_node (etn)sn_templated_snip_note_template (snip)etn.sys_id = snip.taxonomy_node
sn_templated_snip_note_template (snip)sn_hr_core_fulfillment_instructions (hrfi)snip.sys_id = hrfi.note_template

 

-------------------------------------------------------------------------

If you found my response helpful, please consider selecting "Accept as Solution" and marking it as "Helpful." This not only supports me but also benefits the community.


Regards
Runjay Patel - ServiceNow Solution Architect
YouTube: https://www.youtube.com/@RunjayP
LinkedIn: https://www.linkedin.com/in/runjay

-------------------------------------------------------------------------

Part 2. In this video i have talked about overview on ServiceNow platform/tool. How you can opt for personal dev instance (PDI)? how to login in ServiceNow instance and navigation to OOB modules. For document please visit: https://servicenowwithrunjay.com/ Follow Facebook page for latest update on

Hi @Runjay Patel 

Sorry, i tried it but it is not working 

vijani_0-1734444002807.png

 

Hi @vijani ,

 

check below

is taxonomy_node filed is reference pointing to enterprise_taxonomy_node table?

is note_template filed is reference pointing to sn_templated_snip_note_template table?