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

Reporting on Open Problems with All Problem Tasks Closed

shaneor
Kilo Explorer

Hi there,

I have been trying to report on Open Problems with All Problem Tasks Closed

I created a database view that joins the Problem to Problem Task table

find_real_file.png

The report I'm currently running isn't entirely accurate as it returns some problems where one of the Problem Tasks is Closed Complete but the others may be Open

The filters for my current report can be seen below

find_real_file.png

Would Greatly appreciate any support you may have on this issue

Thanks a million,

Shane

5 REPLIES 5

chirag_bagdai
ServiceNow Employee
ServiceNow Employee

Hi Shane,



If you just want to find Open Problem tickets with Closed Problem tasks, You can create report on "Problem Task" per below screenshot :


Screen Shot 2017-06-02 at 1.54.10 PM.png



For getting reference field in the filter you need to use "Show Related Fields".


sb1186
Kilo Guru

Hi Shane,



You can create this report directly using the problem_task table. You don't need a database view to achieve the result.



Try creating a report with the following specifications and let me know if it helps:



1) Table: Problem Task (problem_task)


2) Filter: State is one of (Closed Complete, Closed Incomplete, Close Skipped)


                            AND


                            Problem.State is not Closed/Resolved (click on Show Related Fields > Problem   > State)


3) Save and Run the report


find_real_file.png



PS: Mark this answer as Correct if it solved your query or hit Like/Helpful depending upon the usefulness of the response.



Regards
Supriya Bisht


What if a problem has no problem task?


AKrumm
Kilo Contributor

I am trying to create a very similar report. The need to is to be able to list he Problems that are still open but either have no tasks or all tasks are closed. The above report will only show you the closed tasks but not the ones that may still open.