<!--
  ~ Copyright (C) 2010-2022 Evolveum and contributors
  ~
  ~ Licensed under the EUPL-1.2 or later.
  -->

<mark xmlns="http://midpoint.evolveum.com/xml/ns/public/common/common-3"
    oid="00000000-0000-0000-0000-000000000730">
    <name>Projection activated</name>
    <description>Operation that activated the projection</description>
    <documentation>
        This is an operation that brought the projection into existence and being effectively enabled.
        (So, previously it was either non-existent or effectively disabled.)
    </documentation>
    <assignment id="1">
        <identifier>archetype</identifier>
        <targetRef oid="00000000-0000-0000-0000-000000000700" type="ArchetypeType"/>
    </assignment>
    <displayOrder>300</displayOrder>
    <policyRule id="2">
        <name>projection-activated</name>
        <policyConstraints>
            <custom id="3">
                <name>$projection-activated</name>
                <expression>
                    <script>
                        <code>midpoint.currentProjectionActivated</code>
                    </script>
                </expression>
            </custom>
        </policyConstraints>
        <evaluationTarget>projection</evaluationTarget>
    </policyRule>
</mark>
