The CreatorCon Call for Content is officially open! Get started here.

what is database view in servicenow

devservicenow k
Tera Contributor

Using Database View i need to create a report for case ,time worked and time card .

How to do that?

1 ACCEPTED SOLUTION

Pavankumar_1
Mega Patron

Hi @devservicenow k ,

Refer below article it will helps you.

https://www.servicenow.com/community/developer-blog/what-is-servicenow-database-view-create-servicen...

If it helps please click Accept as Solution/hit the Thumb Icon.
ServiceNow Community MVP 2024.
Thanks,
Pavankumar

View solution in original post

7 REPLIES 7

Pavankumar_1
Mega Patron

Hi @devservicenow k ,

Refer below article it will helps you.

https://www.servicenow.com/community/developer-blog/what-is-servicenow-database-view-create-servicen...

If it helps please click Accept as Solution/hit the Thumb Icon.
ServiceNow Community MVP 2024.
Thanks,
Pavankumar

Pavankumar_1
Mega Patron

Hi @devservicenow k ,

You can use the Task type field as Case to get the case data on report.

If it helps please click Accept as Solution/hit the Thumb Icon.
ServiceNow Community MVP 2024.
Thanks,
Pavankumar

Pavankumar_1
Mega Patron

Hi @devservicenow k ,

if you are looking for the report from the time card(time_card) table and need only case and case task data.

On Task table Task Type field which indicates the case, casetask, incident, workorder, problem, etc..

we can filter data based the Tasktype. 

Refer below conditions on the report.

Screenshot (520).png

If it helps please click Accept as Solution/hit the Thumb Icon.
ServiceNow Community MVP 2024.
Thanks,
Pavankumar