05-23-2012 02:25 PM
SELECT r.slevel "Lev",
act_name_ || ' [' || act_id_ || '}' act_name_id,
decode(r.slevel, 1, 0, a.duration_) duration,
decode(r.slevel, 1, a.duration_, 0) "MainTime",
a.start_time_,
a.end_time_,
substr(p.proc_def_id_, 1, instr(p.proc_def_id_, ':') - 1) process,
a.proc_inst_id_
FROM act_hi_actinst a,
(SELECT LEVEL slevel, t.proc_inst_id_, duration_
FROM act_hi_procinst t
START WITH super_process_instance_id_ IS NULL
AND proc_inst_id_ = '1141690'
CONNECT BY PRIOR proc_inst_id_ = super_process_instance_id_) r,
act_hi_procinst p
WHERE a.proc_inst_id_ = r.proc_inst_id_
AND p.proc_inst_id_ = a.proc_inst_id_
# NAME DURATION START_TIME END_TIME START_TO_START_DURATION DIFFERENCE
123 Inclusive Gateway 1317 1.33168000 1.34485000 1317 0
124 Exclusive Gateway 1 1.34485000 1.34486000 1 0
125 Verify Something 95 1.34486000 1.34581000 95 0
126 Exclusive Gateway 0 1.34581000 1.34581000 0 0
127 Inclusive Gateway 1.34581000 3195 3195
128 Verify Something Else 70 1.37776000 1.37846000 70 0
129 Inclusive Gateway 1.37846000 2307 2307
130 Inclusive Gateway 1.40153000 1669 1669
131 Update Something 27 1.41822000 1.41849000 47 20
132 Inclusive Gateway 1.41869000 1417 1417
05-23-2012 05:05 PM
PROC_DEF_ID_ SUM(DURATION_) REAL_ELAPSED_TIME MIN(START_TIME_) MAX(END_TIME_) TASKCNT
svc_f_test_igw:1:736265 3253 5.792 23-MAY-12 12.04.28.790000 PM 23-MAY-12 12.04.34.582000 PM 3
svc_f_test_eXgw:1:736261 80 0.08 23-MAY-12 12.04.24.739000 PM 23-MAY-12 12.04.24.819000 PM 1
svc_f_test_pgw:1:736273 162 0.336 23-MAY-12 12.04.36.272000 PM 23-MAY-12 12.04.36.608000 PM 5
svc_f_test_pgwPluseXgw:1:736269 115 0.177 23-MAY-12 12.04.40.701000 PM 23-MAY-12 12.04.40.878000 PM 3
SELECT proc_def_id_,
SUM(duration_),
extract (second FROM (MAX(end_time_) - MIN(start_time_))) real_elapsed_time,
MIN(start_time_),
MAX(end_time_),
SUM(decode(act_type_, 'scriptTask', 1, 0)) - 2 taskcnt
FROM act_hi_actinst
GROUP BY proc_def_id_
05-24-2012 04:36 AM
05-25-2012 06:29 PM
06-04-2012 01:18 PM
06-06-2012 08:06 PM
10-10-2013 02:00 PM
10-21-2013 07:20 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.