Video Screencast Help
Search Video Help Close Back
to help
New in the Rewards Catalog: Vouchers for "Symantec Technical Specialist" and "Symantec Certified Specialist" exams.

Report on Resolved Incidents

Updated: 22 May 2010 | 3 comments
acachero's picture
0 0 Votes
Login to vote

Currently we are using HD_Current View to report on incidents which status is 'Resolved'.
How else are other users recording their resolved incidents in Altiris?
What is the best way to do it?
If possible, can you please provide us with a sample SQL so that we can import it onto Altiris and see if it's right for us.
Thanks

discussion Filed Under:

Comments

mboggs's picture
04
Sep
2008
0 Votes 0
Login to vote

Closed action

I use the status="Closed" and action="Closed" to capture those.

workitem_status_lookup_value='Closed' and workitem_action='Closed' ORDER BY workitem_number ASC

acachero's picture
04
Sep
2008
0 Votes 0
Login to vote

Hi Mboggs, I used the

Hi Mboggs,
I used the Wizard and the query is stated below:

SELECT
T0.[workitem_number] AS 'Incident Number',
T0.[workitem_status_lookup_value] AS 'Status'
FROM [HD_workitem_current_view] T0
WHERE (T0.[workitem_action] = 'Closed'
AND T0.[workitem_status_lookup_value] = 'Closed') AND DATEDIFF(DAY, T0.[workitem_created_on], GETDATE()) <= %N Days%
ORDER BY T0.[workitem_number] ASC

However the results are coming up with incidents which have the created date of way past the 7 days that I declared in the paramaters.

I hope you're able to assist.

Thanks

mboggs's picture
05
Sep
2008
0 Votes 0
Login to vote

variable

make sure your variable of N days is set to 7 in your report parameters and that the checkbox for Replace with SQL parameter is checked and the Prompt for value is NOT checked.

I used this SQL and hard coded 7 days and only get 7 days worth of results, so it must be your parameter.