Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to create report using database view?

shrinivasprasa1
Tera Contributor

Hi Community,

Good day!!!

We have requirement that to create report where report contains Escalation number(which is in the sn_customerservice_escalation table)and all the all the fileds which are present in the sn_customerservice_case table,

i have created database view but i cant see data in it i hope i have missed the where cause anyone kinldy help on the condition.

 

shrinivasprasa1_0-1725966365934.png

thanks in advance,

shrinivasprasad

13 REPLIES 13

Anubhav24
Mega Sage

Hi @shrinivasprasa1 ,

Under your where clause it should be est_source_record = ct_sys_id

Please mark helpful/correct if my response helped you.

Hi @Anubhav24 

 

i tried it by changing it to sys_id but i cant see the data.

 

shrinivasprasa1_0-1725968834776.png

 

shrinivasprasa1_1-1725968900090.png

 

 

Thanks,

Shrinivasprasad

@shrinivasprasa1 

If you try it  under database view definition does it shows any data ?

@Anubhav24 

you can see above report it is under database view, no, i dont see any data