I am trying to figure out all reports that have not been refreshed since May 01 ,2009 in my repository. Since we do not have Auditor installed I am querying the CI_INFOOBJECTS table through Query Builder. The following is my query -
SELECT
SI_NAME,
SI_LAST_RUN_TIME ,
SI_AUTHOR,
SI_INSTANCE,
SI_PARENTID,
SI_PARENT_FOLDER,
SI_KIND
FROM
CI_INFOOBJECTS
WHERE
SI_KIND IN ('Webi','FullClient')
AND SI_LAST_RUN_TIME<'2009/05/01,00:00:00'
AND SI_PARENTID = &s
Now I modified the query to include SI_LAST_RUN_TIME IS NULL and My report count increased. I just want to figure out what it means when there is no value for SI_LAST_RUN_TIME for a report object. Does it mean that the report was never successfully refreshed in InfoView? Any pointers, anyone?
The last run time shows the time a scheduled instance based on that document was executed. The wording is a bit clumsy in my opinion, but it is what it is.
Last run time is a property of the template document, not the instance. Although it is attached to the template, the value is derived from its children, i.e. scheduled instances.
Okay. I ll get to my basic requirement. I want the last run time (last time of refresh) of all web intelligence and desk intelligence reports, which may or may not have scheduled instances, in my repository. Is there any attribute associated with the report object(s) anywhere in the CMS database that I can query to get this information?
Yes. last modified time and run time are different as shown in Infoview and CMC.
If you check CMC, the last modified time of the report is the run time of its lastest instance.
Where as Infoview exactly shows last run-time.
I am afraid that you will have to do some manual work but you can get the perfect information using Infoview >> Advance Search Options >> Search by time.
Information you will get is: Name, path, owner, last_run_time, instnaces.