<!--
  ~ Copyright (c) 2023-2024 Evolveum and contributors
  ~
  ~ This work is dual-licensed under the Apache License 2.0
  ~ and European Union Public License. See LICENSE file for details.
  -->
<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:q="http://prism.evolveum.com/xml/ns/public/query-3"
      xmlns:ri="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3"
      oid="4778847b-bb25-4c4d-94e1-b59b7ba55091">
    <name>Import task: OpenLDAP: Service accounts (simulated) TEST</name>
    <assignment id="1">
        <targetRef oid="00000000-0000-0000-0000-000000000503"
                   type="c:ArchetypeType"/>
        <activation/>
    </assignment>
    <taskIdentifier>1701867295498-39575-1</taskIdentifier>
    <ownerRef oid="00000000-0000-0000-0000-000000000002"
              type="c:UserType"/>
    <channel>http://midpoint.evolveum.com/xml/ns/public/common/channels-3#import</channel>
    <executionState>closed</executionState>
    <schedulingState>closed</schedulingState>
    <objectRef oid="32531590-4606-4333-9cc2-0faa1ae68509"
               type="c:ResourceType"/>
    <binding>loose</binding>
    <activity>
        <work>
            <import>
                <resourceObjects>
                    <resourceRef oid="32531590-4606-4333-9cc2-0faa1ae68509"
                                 type="c:ResourceType"/>
                    <kind>account</kind>
                    <intent>default</intent>
                    <query>
                        <q:filter>
                            <q:equal>
                                <q:path>attributes/ri:employeeType</q:path>
                                <q:value>service</q:value>
                            </q:equal>
                        </q:filter>
                    </query>
                    <queryApplication>append</queryApplication>
                </resourceObjects>
            </import>
        </work>
        <execution>
            <mode>preview</mode>
            <configurationToUse>
                <predefined>development</predefined>
            </configurationToUse>
        </execution>
        <distribution>
            <workerThreads>8</workerThreads>
        </distribution>
        <reporting>
            <simulationResult>
                <definition>
                    <useOwnPartitionForProcessedObjects>false</useOwnPartitionForProcessedObjects>
                </definition>
            </simulationResult>
        </reporting>
    </activity>
</task>
