<?xml version="1.0" encoding="UTF-8"?><policy>
	<rule>
		<description>Command Transformation - Create Departmental Container - Part 2</description>
		<conditions>
			<and>
				<if-local-variable name="does-target-exist" op="available"/>
				<if-local-variable name="does-target-exist" op="equal"/>
			</and>
		</conditions>
		<actions>
			<do-add-dest-object class-name="organizationalUnit" direct="true">
				<arg-dn>
					<token-local-variable name="target-container"/>
				</arg-dn>
			</do-add-dest-object>
			<do-add-dest-attr-value direct="true" name="ou">
				<arg-dn>
					<token-local-variable name="target-container"/>
				</arg-dn>
				<arg-value type="string">
					<token-parse-dn dest-dn-format="dot" length="1" src-dn-format="dest-dn" start="-1">
						<token-local-variable name="target-container"/>
					</token-parse-dn>
				</arg-value>
			</do-add-dest-attr-value>
		</actions>
	</rule>
</policy>

