<?xml version="1.0" encoding="UTF-8"?>
<!--
  ~ Copyright (c) 2010-2019 Evolveum and contributors
  ~
  ~ Licensed under the EUPL-1.2 or later.
  -->

<objectCollection xmlns="http://midpoint.evolveum.com/xml/ns/public/common/common-3"
                  xmlns:q="http://prism.evolveum.com/xml/ns/public/query-3"
                  xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3"
                  oid="00000000-0000-0000-0001-000000000005">
    <name>Active tasks</name>
    <assignment id="1">
        <identifier>taskHealth</identifier>
        <policyRule>
            <policyConstraints>
                <collectionStats id="2">
                    <collection id="3">
                        <interpretation>explicit</interpretation>
                    </collection>
                </collectionStats>
            </policyConstraints>
            <policySituation>#taskHealthDanger</policySituation>
            <policyThreshold>
                <highWaterMark>
                    <percentage>50.0</percentage>
                </highWaterMark>
            </policyThreshold>
        </policyRule>
    </assignment>
    <type>TaskType</type>
    <filter>
        <q:text>executionState = "runnable" and parent not exists</q:text>
    </filter>
    <domain>
        <collectionRef oid="00000000-0000-0000-0001-000000000007" type="c:ObjectCollectionType"/>
    </domain>
</objectCollection>
