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.

Database views with left join Approval-RITM-SCTask

olufsen
Kilo Sage

Hi, I am starting to learn database views and left join hence I need help from the experts.

 

I have created this and it is working fine except that if a RITM has pending approval, no SCTask is generated yet but I wanted to display the RITM on the report with empty task. 

 

How am I going to implement that?

 

olufsen_0-1718228163470.png

 

1 ACCEPTED SOLUTION

James Chun
Kilo Patron

Hi @olufsen,

 

Try this, you will need to adjust the order and use left join:

JamesChun_0-1718229921725.png

e.g.

JamesChun_1-1718229938648.png

 

Cheers

View solution in original post

2 REPLIES 2

James Chun
Kilo Patron

Hi @olufsen,

 

Try this, you will need to adjust the order and use left join:

JamesChun_0-1718229921725.png

e.g.

JamesChun_1-1718229938648.png

 

Cheers

Order works. Thank you so much!!