Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung Nächste Überarbeitung Beide Seiten der Revision | ||
software:dashboard:analyses:activity_analyses_oracle [2015/06/08 10:49] manuel.kindler [Durchschnittliche, minimale und maximale Durchlaufszeit aller Aktivitäten einer bestimmten Prozessdefinition (in h)] |
software:dashboard:analyses:activity_analyses_oracle [2016/04/18 11:23] oliver.schirach [Anzahl an erstellten, beendeten und offenen Aktivitäten einer bestimmten Prozessdefinition] |
||
---|---|---|---|
Zeile 8: | Zeile 8: | ||
COUNT(DISTINCT(act2.id)) AS "Anzahl beendete Aktivitäten", | COUNT(DISTINCT(act2.id)) AS "Anzahl beendete Aktivitäten", | ||
COUNT(DISTINCT(act3.id)) AS "Anzahl offene Aktivitäten" | COUNT(DISTINCT(act3.id)) AS "Anzahl offene Aktivitäten" | ||
- | FROM view_activity act1 INNER JOIN view_instance inst ON act1.instanceid=inst.id AND act1."start" IS NOT NULL AND "type" IN ('K','S') | + | FROM view_activity act1 INNER JOIN view_instance inst ON act1.instanceid=inst.id AND act1."start" IS NOT NULL AND act1."type" IN ('K','S') |
LEFT JOIN view_activity act2 ON act1.id=act2.id AND act2."end" IS NOT NULL | LEFT JOIN view_activity act2 ON act1.id=act2.id AND act2."end" IS NOT NULL | ||
LEFT JOIN view_activity act3 ON act1.id=act3.id AND act3."end" IS NULL AND act3."start" IS NOT NULL | LEFT JOIN view_activity act3 ON act1.id=act3.id AND act3."end" IS NULL AND act3."start" IS NOT NULL | ||
Zeile 20: | Zeile 20: | ||
COUNT(DISTINCT(act2.id)) AS "Anzahl beendete Aktivitäten", | COUNT(DISTINCT(act2.id)) AS "Anzahl beendete Aktivitäten", | ||
COUNT(DISTINCT(act3.id)) AS "Anzahl offene Aktivitäten" | COUNT(DISTINCT(act3.id)) AS "Anzahl offene Aktivitäten" | ||
- | FROM view_activity act1 INNER JOIN view_instance inst ON act1.instanceid=inst.id AND act1."start" IS NOT NULL AND "type" IN ('K','S') AND inst.definitionName = 'PROZESSDEFINITIONSNAME' | + | FROM view_activity act1 INNER JOIN view_instance inst ON act1.instanceid=inst.id AND act1."start" IS NOT NULL AND act1."type" IN ('K','S') AND inst.definitionName = 'PROZESSDEFINITIONSNAME' |
LEFT JOIN view_activity act2 ON act1.id=act2.id AND act2."end" IS NOT NULL | LEFT JOIN view_activity act2 ON act1.id=act2.id AND act2."end" IS NOT NULL | ||
LEFT JOIN view_activity act3 ON act1.id=act3.id AND act3."end" IS NULL AND act3."start" IS NOT NULL | LEFT JOIN view_activity act3 ON act1.id=act3.id AND act3."end" IS NULL AND act3."start" IS NOT NULL |