<!--
  ~ Copyright (c) 2010-2024 Evolveum
  ~
  ~ Licensed under the Apache License, Version 2.0 (the "License");
  ~ you may not use this file except in compliance with the License.
  ~ You may obtain a copy of the License at
  ~
  ~     http://www.apache.org/licenses/LICENSE-2.0
  ~
  ~ Unless required by applicable law or agreed to in writing, software
  ~ distributed under the License is distributed on an "AS IS" BASIS,
  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  ~ See the License for the specific language governing permissions and
  ~ limitations under the License.
  -->

<task xmlns="http://midpoint.evolveum.com/xml/ns/public/common/common-3"
      xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3"
      xmlns:org="http://midpoint.evolveum.com/xml/ns/public/common/org-3"
      oid="59cb3937-b923-4903-9afc-ee27e56be262">
    <name>Mark orphaned tasks</name>
    <activity>
        <work>
            <recomputation>
                <objects>
                    <type>TaskType</type>
                </objects>
                <executionOptions>
                    <partialProcessing>
                        <inbound>skip</inbound>
                        <focusActivation>skip</focusActivation>
                        <objectTemplateBeforeAssignments>skip</objectTemplateBeforeAssignments>
                        <assignments>skip</assignments>
                        <assignmentsOrg>skip</assignmentsOrg>
                        <assignmentsMembershipAndDelegate>skip</assignmentsMembershipAndDelegate>
                        <assignmentsConflicts>skip</assignmentsConflicts>
                        <focusLifecycle>skip</focusLifecycle>
                        <objectTemplateAfterAssignments>skip</objectTemplateAfterAssignments>
                        <focusCredentials>skip</focusCredentials>
                        <focusPolicyRules>automatic</focusPolicyRules>
                        <projection>skip</projection>
                        <objectTemplateAfterProjections>skip</objectTemplateAfterProjections>
                        <approvals>skip</approvals>
                        <execution>automatic</execution>
                        <notification>automatic</notification>
                    </partialProcessing>
                </executionOptions>
            </recomputation>
        </work>
    </activity>
    <assignment id="1">
        <targetRef oid="00000000-0000-0000-0000-000000000502" relation="org:default" type="c:ArchetypeType">
            <!-- Recomputation task -->
        </targetRef>
    </assignment>
    <ownerRef oid="00000000-0000-0000-0000-000000000002" relation="org:default" type="c:UserType">
        <!-- administrator -->
    </ownerRef>
    <schedule>
        <recurrence>single</recurrence>
    </schedule>
    <executionState>suspended</executionState>
    <schedulingState>suspended</schedulingState>

    <binding>loose</binding>
</task>