on 07-07-2017 6:44 PM
I want to create a BO report using auditing universe which will track:-
1.Which report has failed 3 times successively without a success instance between the 3 failures.
2.Create a publication that will trigger me a email,which are the reports that has failed 3 times successively.
Thanks in Advance.
Regards
Dibyajyoti Pattnaik
HI Dibyajyoti,
In BI4.2 SP2 SAP has introduced a Universe which they built on top of CMS Database.
Please see the below link:
ON top of this universe create a Webi report report,filter it out on Schedule status=3(Failed instances) and then create a variable on a updatedTime stamp Dimension on universe (use Count function).
Here one of the advantage is you will get the live data compared to auditing.
Hope it helps!!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I don't think it can be done with the out-of-the-box universe, but the following Oracle will will produce reports that failed three times consecutively.
with a as
(
select
start_time,
user_name,
object_name,
object_folder_path,
status_name,
lag (status_name,1,null) over (partition by object_folder_path order by start_time) prev_status,
lag (status_name,2,null) over (partition by object_folder_path order by start_time) prev_status_2,
lag (start_time,1,null) over (partition by object_folder_path order by start_time) prev_time,
lag (start_time,2,null) over (partition by object_folder_path order by start_time) prev_time_2
from
ads_event ae
join ads_event_type_str et
on ae.event_type_id = et.event_type_id
and et.language = 'EN'
join ads_status_str st
on ae.status_id = st.status_id
and st.language = 'EN'
and st.event_type_id = ae.event_type_id
where
start_time > sysdate - 30
and event_type_name = 'Run'
)
select
user_name,
object_name,
object_folder_path,
status_name,
start_time,
prev_time,
prev_time_2
from
a
where
status_name = 'Job Failed'
and prev_status = 'Job Failed'
and prev_status_2 = 'Job Failed'
order by
object_folder_path,
start_time desc
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Crystal reports enables you to broadcast alerts on a condition. so you can use the WebI document as datasource of your CR.
Grtz
Koen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
70 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.