<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;
color:black;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p
{mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman",serif;
color:black;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";
color:black;}
tt
{mso-style-priority:99;
font-family:"Courier New";}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:Consolas;
color:black;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman",serif;
color:black;}
p.msonormal00, li.msonormal00, div.msonormal00
{mso-style-name:msonormal0;
mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman",serif;
color:black;}
p.msochpdefault, li.msochpdefault, div.msochpdefault
{mso-style-name:msochpdefault;
mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman",serif;
color:black;}
p.msochpdefault1, li.msochpdefault1, div.msochpdefault1
{mso-style-name:msochpdefault1;
mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman",serif;
color:black;}
p.msonormal01, li.msonormal01, div.msonormal01
{mso-style-name:msonormal01;
mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman",serif;
color:black;}
p.msochpdefault2, li.msochpdefault2, div.msochpdefault2
{mso-style-name:msochpdefault2;
mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman",serif;
color:black;}
p.msochpdefault11, li.msochpdefault11, div.msochpdefault11
{mso-style-name:msochpdefault11;
mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Calibri",sans-serif;
color:black;}
span.emailstyle171
{mso-style-name:emailstyle171;}
span.emailstyle24
{mso-style-name:emailstyle24;}
span.emailstyle1711
{mso-style-name:emailstyle1711;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.emailstyle241
{mso-style-name:emailstyle241;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.apple-converted-space
{mso-style-name:apple-converted-space;}
span.EmailStyle33
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.EmailStyle34
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
@list l0
{mso-list-id:265230893;
mso-list-template-ids:-1130224440;}
@list l1
{mso-list-id:681712470;
mso-list-template-ids:-856791352;}
@list l1:level1
{mso-level-tab-stop:36.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l1:level2
{mso-level-tab-stop:72.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l1:level3
{mso-level-tab-stop:108.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l1:level4
{mso-level-tab-stop:144.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l1:level5
{mso-level-tab-stop:180.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l1:level6
{mso-level-tab-stop:216.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l1:level7
{mso-level-tab-stop:252.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l1:level8
{mso-level-tab-stop:288.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l1:level9
{mso-level-tab-stop:324.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;}
ol
{margin-bottom:0cm;}
ul
{margin-bottom:0cm;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body bgcolor=white lang=EN-AU link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><a name="_MailEndCompose"><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowtext;mso-fareast-language:EN-US'>Hi Pavol,<o:p></o:p></span></a></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowtext;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowtext;mso-fareast-language:EN-US'>I went with the filter that Roman pointed to in the end, and we have some mechanisms in place to make sure the org name is unique.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowtext;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowtext;mso-fareast-language:EN-US'>I will give the inOid method a try in my test system when time permits to see how it works<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowtext;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowtext;mso-fareast-language:EN-US'>Thank you and thanks again Roman<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowtext;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowtext;mso-fareast-language:EN-US'>Regards,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowtext;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowtext;mso-fareast-language:EN-US'>Brad<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowtext;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowtext;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowtext;mso-fareast-language:EN-US'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowtext'>From:</span></b><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowtext'> midPoint [mailto:midpoint-bounces@lists.evolveum.com] <b>On Behalf Of </b>Pavol Mederly<br><b>Sent:</b> Tuesday, 23 August 2016 3:41 PM<br><b>To:</b> midpoint@lists.evolveum.com<br><b>Subject:</b> Re: [midPoint] Adding org assignment via User Template<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Hello Brad,<br><br>the form of <assignmentTargetSearch> you are using, i.e.<br><br><tt><span style='font-size:11.0pt'><assignmentTargetSearch></span></tt><span style='font-size:11.0pt;font-family:"Courier New"'><br><tt> <targetType>c:OrgType</targetType></tt></span><br><tt><span style='font-size:11.0pt'> <oid>..........</oid></span></tt><br><tt><span style='font-size:11.0pt'></assignmentTargetSearch></span></tt><br><br>doesn't allow variables in the <oid> element. Only a constant value is allowed there.<br><br>However, it is possible to use the second form of <assignmentTargetSearch> that uses a filter - as you used before, and as Roman pointed to:<br><br><tt><span style='font-size:10.0pt'><assignmentTargetSearch></span></tt><span style='font-size:10.0pt;font-family:"Courier New"'><br><tt> <targetType>c:OrgType</targetType></tt><br><tt> <filter></tt></span><br><tt><span style='font-size:10.0pt'> ...</span></tt><br><tt><span style='font-size:10.0pt'> </filter></span></tt><br><tt><span style='font-size:10.0pt'></assignmentTargetSearch></span></tt><span style='font-size:10.0pt;font-family:"Courier New"'><br></span><br>You just have to select a correct filter. The commonly used one (<equals>) cannot match an OID, because technically OID is not a property of an object. But there is another filter that can be used: <inOid>. So it would look like this:<br><br><tt><span style='font-size:10.0pt'><assignmentTargetSearch></span></tt><span style='font-size:10.0pt;font-family:"Courier New"'><br><tt> <targetType>OrgType</targetType></tt><br><tt> <filter></tt></span><br><tt><span style='font-size:10.0pt'> <inOid></span></tt><span style='font-size:10.0pt;font-family:"Courier New"'><br><tt> <expression></tt><br><tt> <script></tt><br><tt> <code>organizationalUnit</code></tt><br><tt> </script></tt><br><tt> </expression></tt><br><tt> </inOid></tt><br><tt> </filter></tt></span><br><tt><span style='font-size:10.0pt'></assignmentTargetSearch></span></tt><span style='font-size:10.0pt;font-family:"Courier New"'><br></span><br>Just a note: I've actually not seen this in a real deployment. I would suggest to use the other option you indicated: set org name to an OID, and use displayName to contain a human readable value. The reason is that in the current version of midPoint the name must be unique, even across the tenants.<br><br>Best regards,<br><br><o:p></o:p></p><pre>Pavol Mederly<o:p></o:p></pre><pre>Software developer<o:p></o:p></pre><pre>evolveum.com<o:p></o:p></pre><div><p class=MsoNormal>On 22.08.2016 14:47, Brad Fardig wrote:<o:p></o:p></p></div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'>Hi Roman,</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'> </span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'>Thanks again.</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'> </span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'>I had something like that earlier this afternoon and now I get no assignment at all. Your response has however made me realise what the error is (just not how to fix it)</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'> </span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'>Given the following org:</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'> </span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'><org xmlns=</span><a href="http://midpoint.evolveum.com/xml/ns/public/common/common-3"><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'>"http://midpoint.evolveum.com/xml/ns/public/common/common-3"</span></a><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'> xmlns:icfs=</span><a href="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3"><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'>"http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3"</span></a><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'> xmlns:t=</span><a href="http://prism.evolveum.com/xml/ns/public/types-3"><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'>"http://prism.evolveum.com/xml/ns/public/types-3"</span></a><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'> xmlns:c=</span><a href="http://midpoint.evolveum.com/xml/ns/public/common/common-3"><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'>"http://midpoint.evolveum.com/xml/ns/public/common/common-3"</span></a><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'> xmlns:q=</span><a href="http://prism.evolveum.com/xml/ns/public/query-3"><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'>"http://prism.evolveum.com/xml/ns/public/query-3"</span></a><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'> xmlns:ri=</span><a href="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3"><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'>"http://midpoint.evolveum.com/xml/ns/public/resource/instance-3"</span></a><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'> oid="d9ca2974-af5f-4ae7-acc4-dd9edc28e692"</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'> version="2"></span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'> <name>users</name></span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'> <description>Some Users</description></span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'> <parentOrgRef oid="4564b008-e829-420c-bbf7-f2026af3434f" type="c:OrgType"><!—Some Org --></parentOrgRef></span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'> <metadata></span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'> <createTimestamp>2016-08-19T10:40:43.425+10:00</createTimestamp></span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'> <creatorRef oid="00000000-0000-0000-0000-000000000002" type="c:UserType"><!-- administrator --></creatorRef></span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'> <createChannel></span><a href="http://midpoint.evolveum.com/xml/ns/public/gui/channels-3#user"><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'>http://midpoint.evolveum.com/xml/ns/public/gui/channels-3#user</span></a><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'></createChannel></span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'> <modifyTimestamp>2016-08-19T10:40:43.511+10:00</modifyTimestamp></span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'> <modifierRef xmlns:tns=</span><a href="http://midpoint.evolveum.com/xml/ns/public/common/common-3"><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'>"http://midpoint.evolveum.com/xml/ns/public/common/common-3"</span></a><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'> oid="00000000-0000-0000-0000-000000000002"</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'> type="tns:UserType"><!-- administrator --></modifierRef></span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'> <modifyChannel></span><a href="http://midpoint.evolveum.com/xml/ns/public/gui/channels-3#user"><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'>http://midpoint.evolveum.com/xml/ns/public/gui/channels-3#user</span></a><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'></modifyChannel></span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'> </metadata></span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'> <assignment id="1"></span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'> <targetRef oid="4564b008-e829-420c-bbf7-f2026af3434f" type="c:OrgType"><!—Some Org --></targetRef></span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'> </assignment></span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'> <activation></span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'> <administrativeStatus>enabled</administrativeStatus></span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'> <effectiveStatus>enabled</effectiveStatus></span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'> <enableTimestamp>2016-08-19T10:40:43.478+10:00</enableTimestamp></span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'> </activation></span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'> <iteration>0</iteration></span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'> <iterationToken/></span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'> <roleMembershipRef oid="4564b008-e829-420c-bbf7-f2026af3434f" type="c:OrgType"><!—Some Org --></roleMembershipRef></span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'> <displayName>Users</displayName></span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'> <orgType>functional</orgType></span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'> <tenant>false</tenant></span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'></org></span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'> </span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'>I’m trying to access the OID value: oid="d9ca2974-af5f-4ae7-acc4-dd9edc28e692"</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'> </span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'>I could use the name value but it is not guaranteed to be unique within an organisation nor across tenants.</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'> </span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'>Is there any way to access the OID value or should I set the name field to be the OID and set the displayName to the human readable version? I’d prefer to be able to access the OID field as the other fields are defined as mutable.</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'> </span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'>Regards,</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'> </span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'>Brad</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'> </span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'> </span><o:p></o:p></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif'>From:</span></b><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif'> Roman Pudil - AMI Praha a.s. [</span><a href="mailto:roman.pudil@ami.cz"><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif'>mailto:roman.pudil@ami.cz</span></a><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif'>] <br><b>Sent:</b> Monday, 22 August 2016 9:56 PM<br><b>To:</b> Brad Fardig </span><a href="mailto:brad.fardig@cogitogroup.com.au"><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif'><brad.fardig@cogitogroup.com.au></span></a><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif'>; midPoint General Discussion </span><a href="mailto:midpoint@lists.evolveum.com"><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif'><midpoint@lists.evolveum.com></span></a><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif'><br><b>Subject:</b> Re[2]: [midPoint] Adding org assignment via User Template</span><o:p></o:p></p></div></div><p class=MsoNormal> <o:p></o:p></p><div><p class=MsoNormal><span style='font-family:"Tahoma",sans-serif'>Hi Brad,</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-family:"Tahoma",sans-serif'>your solution is wrong.</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-family:"Tahoma",sans-serif'> </span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-family:"Tahoma",sans-serif'>You have to linked org. unit OID with group ID synced from AD (or their names for ex.).</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-family:"Tahoma",sans-serif'> </span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-family:"Tahoma",sans-serif'>Test it:</span><o:p></o:p></p></div><div><ol start=1 type=1><li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l1 level1 lfo3'><span style='font-family:"Tahoma",sans-serif'>change organizationalUnit attribute of the user to the org. unit name (which exists in midPoint)</span> <o:p></o:p></li><li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l1 level1 lfo3'><span style='font-family:"Tahoma",sans-serif'>change search filter in mapping to: </span> <o:p></o:p></li></ol><div><p class=MsoNormal><span style='font-family:"Tahoma",sans-serif'><expression><br> <assignmentTargetSearch><br> <targetType>c:OrgType</targetType><br><filter><br><q:equal><br><b><q:path>c:name</q:path><br></b><expression><br><script><br><code><br><b>return organizationalUnit;</b><br></code><br></script><br></expression><br></q:equal><br> </assignmentTargetSearch><br> </expression></span><o:p></o:p></p></div></div><div><p class=MsoNormal><span style='font-family:"Tahoma",sans-serif'> </span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-family:"Tahoma",sans-serif'> </span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-family:"Tahoma",sans-serif'> </span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-family:"Tahoma",sans-serif'>The better solution is to reconcile AD groups to midPoint.</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-family:"Tahoma",sans-serif'> </span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-family:"Tahoma",sans-serif'>Regards</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-family:"Tahoma",sans-serif'> </span><o:p></o:p></p></div><div id="signature_old"><div><table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 style='border-collapse:collapse'><tr><td valign=bottom style='padding:.75pt .75pt .75pt .75pt'><p><b><span style='font-size:10.5pt;font-family:"Arial",sans-serif'>Roman Pudil</span></b><span style='font-size:8.5pt;font-family:"Arial",sans-serif'><br>solution architect<br><br>gsm: [+420] 775 663 666<br>e-mail:<span class=apple-converted-space> </span></span><a href="mailto:roman.pudil@ami.cz"><span style='font-size:8.5pt;font-family:"Arial",sans-serif'>roman.pudil@ami.cz</span></a><o:p></o:p></p></td><td style='border:none;border-right:solid #CCCCCC 1.0pt;padding:.75pt .75pt .75pt .75pt'><p class=MsoNormal><span style='font-size:13.5pt'> </span><o:p></o:p></p></td><td style='padding:.75pt .75pt .75pt .75pt'><p class=MsoNormal><span style='font-size:13.5pt'> </span><o:p></o:p></p></td><td valign=bottom style='padding:.75pt .75pt .75pt .75pt'><p><span style='font-size:8.5pt;font-family:"Arial",sans-serif'>AMI Praha a.s.<br>Pláničkova 11<br>162 00 Praha 6<br>tel./fax: [+420] 274 783 239<br>web:<span class=apple-converted-space> </span></span><a href="http://www.ami.cz"><span style='font-size:8.5pt;font-family:"Arial",sans-serif'>www.ami.cz</span></a><o:p></o:p></p></td><td style='border:none;border-right:solid #CCCCCC 1.0pt;padding:.75pt .75pt .75pt .75pt'><p class=MsoNormal><span style='font-size:13.5pt'> </span><o:p></o:p></p></td><td style='padding:.75pt .75pt .75pt .75pt'><p class=MsoNormal><span style='font-size:13.5pt'> </span><o:p></o:p></p></td><td style='padding:.75pt .75pt .75pt .75pt'><p><span style='font-size:8.5pt;font-family:"Arial",sans-serif'><img border=0 width=104 height=40 style='width:1.0833in;height:.4166in' id="_x0000_i1028" src="http://www.ami.cz/images/podpis/ami_logo.gif" alt="http://www.ami.cz/images/podpis/ami_logo.gif"></span><o:p></o:p></p></td></tr><tr><td colspan=7 style='padding:.75pt .75pt .75pt .75pt'><p class=MsoNormal><span style='font-size:13.5pt'><br></span><a href="http://www.ami.cz/reseni-a-sluzby/bezpecnost-dat/identity-management"><span style='font-size:13.5pt;text-decoration:none'><img border=0 width=154 height=26 style='width:1.6041in;height:.2708in' id="_x0000_i1027" src="http://www.ami.cz/images/podpis/AMI-podpis-IdM_1.png" alt="http://www.ami.cz/images/podpis/AMI-podpis-IdM_1.png"></span></a><o:p></o:p></p></td></tr><tr><td colspan=7 style='padding:.75pt .75pt .75pt .75pt'><p class=MsoNormal><span style='font-size:8.5pt;font-family:"Arial",sans-serif;color:gray'><br>Textem tohoto e-mailu podepisující neslibuje uzavřít ani neuzavírá za společnost AMI Praha a.s.<br>jakoukoliv smlouvu. Každá smlouva, pokud bude uzavřena, musí mít výhradně písemnou formu.</span><o:p></o:p></p></td></tr></table></div></div><div><p class=MsoNormal><span style='font-family:"Tahoma",sans-serif'> </span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-family:"Tahoma",sans-serif'> </span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-family:"Tahoma",sans-serif'> </span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-family:"Tahoma",sans-serif'>------ Původní zpráva ------</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-family:"Tahoma",sans-serif'>Od: "Brad Fardig" <</span><a href="mailto:brad.fardig@cogitogroup.com.au"><span style='font-family:"Tahoma",sans-serif'>brad.fardig@cogitogroup.com.au</span></a><span style='font-family:"Tahoma",sans-serif'>></span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-family:"Tahoma",sans-serif'>Komu: "Roman Pudil - AMI Praha a.s." <</span><a href="mailto:roman.pudil@ami.cz"><span style='font-family:"Tahoma",sans-serif'>roman.pudil@ami.cz</span></a><span style='font-family:"Tahoma",sans-serif'>>; "midPoint General Discussion" <</span><a href="mailto:midpoint@lists.evolveum.com"><span style='font-family:"Tahoma",sans-serif'>midpoint@lists.evolveum.com</span></a><span style='font-family:"Tahoma",sans-serif'>></span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-family:"Tahoma",sans-serif'>Odesláno: 22.8.2016 13:24:19</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-family:"Tahoma",sans-serif'>Předmět: RE: [midPoint] Adding org assignment via User Template</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-family:"Tahoma",sans-serif'> </span><o:p></o:p></p></div><div id=xa9a702db698e4d9><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 8.0pt;margin-left:3.75pt;margin-top:2.25pt;margin-right:0cm;margin-bottom:5.0pt'><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'>Hi Roman,</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'> </span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'>Sorry forgot to say thank you for the quick response.</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'> </span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'>A check of the idm.log shows that there is an error, which for the example I provided earlier is: </span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'> </span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'>2016-08-22 20:44:22,704 [] [Thread-24] ERROR (com.evolveum.midpoint.model.impl.lens.AssignmentEvaluator): Object of type 'OrgType' with oid 'organizationalUnit' was not found. in assignment target reference in delta for user:62959f3e-c23d-46a5-9015-60017baf5043(</span><a href="mailto:test.user4@demo.local"><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'>test.user4@demo.local</span></a><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'>)</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'> </span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'> </span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'>Regards,</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'> </span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'>Brad</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'> </span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'> </span><o:p></o:p></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif'>From:</span></b><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif'> midPoint [mailto:</span><a href="mailto:midpoint-bounces@lists.evolveum.com"><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif'>midpoint-bounces@lists.evolveum.com</span></a><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif'>] <b>On Behalf Of </b>Roman Pudil - AMI Praha a.s.<br><b>Sent:</b> Monday, 22 August 2016 8:58 PM<br><b>To:</b> midPoint General Discussion <</span><a href="mailto:midpoint@lists.evolveum.com"><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif'>midpoint@lists.evolveum.com</span></a><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif'>><br><b>Subject:</b> Re: [midPoint] Adding org assignment via User Template</span><o:p></o:p></p></div></div><p class=MsoNormal> <o:p></o:p></p><div><p class=MsoNormal><span style='font-family:"Tahoma",sans-serif'>Hi Brad,</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-family:"Tahoma",sans-serif'> </span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-family:"Tahoma",sans-serif'>include your mapping, org definition and response error message.</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-family:"Tahoma",sans-serif'> </span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-family:"Tahoma",sans-serif'>Thanks!</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-family:"Tahoma",sans-serif'><br>Regards</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-family:"Tahoma",sans-serif'> </span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-family:"Tahoma",sans-serif'> </span><o:p></o:p></p></div><div id="signature_old"><div><table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 style='border-collapse:collapse'><tr><td valign=bottom style='padding:.75pt .75pt .75pt .75pt'><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><span style='font-size:10.5pt;font-family:"Arial",sans-serif'>Roman Pudil</span></b><span style='font-size:8.5pt;font-family:"Arial",sans-serif'><br>solution architect<br><br>gsm: [+420] 775 663 666<br>e-mail:<span class=apple-converted-space> </span></span><a href="mailto:roman.pudil@ami.cz"><span style='font-size:8.5pt;font-family:"Arial",sans-serif'>roman.pudil@ami.cz</span></a><o:p></o:p></p></td><td style='border:none;border-right:solid #CCCCCC 1.0pt;padding:.75pt .75pt .75pt .75pt'><p class=MsoNormal><span style='font-size:13.5pt'> </span><o:p></o:p></p></td><td style='padding:.75pt .75pt .75pt .75pt'><p class=MsoNormal><span style='font-size:13.5pt'> </span><o:p></o:p></p></td><td valign=bottom style='padding:.75pt .75pt .75pt .75pt'><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:8.5pt;font-family:"Arial",sans-serif'>AMI Praha a.s.<br>Pláničkova 11<br>162 00 Praha 6<br>tel./fax: [+420] 274 783 239<br>web:<span class=apple-converted-space> </span></span><a href="http://www.ami.cz"><span style='font-size:8.5pt;font-family:"Arial",sans-serif'>www.ami.cz</span></a><o:p></o:p></p></td><td style='border:none;border-right:solid #CCCCCC 1.0pt;padding:.75pt .75pt .75pt .75pt'><p class=MsoNormal><span style='font-size:13.5pt'> </span><o:p></o:p></p></td><td style='padding:.75pt .75pt .75pt .75pt'><p class=MsoNormal><span style='font-size:13.5pt'> </span><o:p></o:p></p></td><td style='padding:.75pt .75pt .75pt .75pt'><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:8.5pt;font-family:"Arial",sans-serif'><img border=0 width=104 height=40 style='width:1.0833in;height:.4166in' id="_x0000_i1026" src="http://www.ami.cz/images/podpis/ami_logo.gif" alt="http://www.ami.cz/images/podpis/ami_logo.gif"></span><o:p></o:p></p></td></tr><tr><td colspan=7 style='padding:.75pt .75pt .75pt .75pt'><p class=MsoNormal><span style='font-size:13.5pt'><br></span><a href="http://www.ami.cz/reseni-a-sluzby/bezpecnost-dat/identity-management"><span style='font-size:13.5pt;text-decoration:none'><img border=0 width=154 height=26 style='width:1.6041in;height:.2708in' id="_x0000_i1025" src="http://www.ami.cz/images/podpis/AMI-podpis-IdM_1.png" alt="http://www.ami.cz/images/podpis/AMI-podpis-IdM_1.png"></span></a><o:p></o:p></p></td></tr><tr><td colspan=7 style='padding:.75pt .75pt .75pt .75pt'><p class=MsoNormal><span style='font-size:8.5pt;font-family:"Arial",sans-serif;color:gray'><br>Textem tohoto e-mailu podepisující neslibuje uzavřít ani neuzavírá za společnost AMI Praha a.s.<br>jakoukoliv smlouvu. Každá smlouva, pokud bude uzavřena, musí mít výhradně písemnou formu.</span><o:p></o:p></p></td></tr></table></div></div><div><p class=MsoNormal><span style='font-family:"Tahoma",sans-serif'> </span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-family:"Tahoma",sans-serif'> </span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-family:"Tahoma",sans-serif'> </span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-family:"Tahoma",sans-serif'>------ Původní zpráva ------</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-family:"Tahoma",sans-serif'>Od: "Brad Fardig" <</span><a href="mailto:brad.fardig@cogitogroup.com.au"><span style='font-family:"Tahoma",sans-serif'>brad.fardig@cogitogroup.com.au</span></a><span style='font-family:"Tahoma",sans-serif'>></span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-family:"Tahoma",sans-serif'>Komu: "</span><a href="mailto:midpoint@lists.evolveum.com"><span style='font-family:"Tahoma",sans-serif'>midpoint@lists.evolveum.com</span></a><span style='font-family:"Tahoma",sans-serif'>" <</span><a href="mailto:midpoint@lists.evolveum.com"><span style='font-family:"Tahoma",sans-serif'>midpoint@lists.evolveum.com</span></a><span style='font-family:"Tahoma",sans-serif'>></span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-family:"Tahoma",sans-serif'>Odesláno: 22.8.2016 12:54:47</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-family:"Tahoma",sans-serif'>Předmět: [midPoint] Adding org assignment via User Template</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-family:"Tahoma",sans-serif'> </span><o:p></o:p></p></div><div id=x134b27ee79db483><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 8.0pt;margin-left:3.75pt;margin-top:2.25pt;margin-right:0cm;margin-bottom:5.0pt'><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>Hi,</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'> </span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>I have a user template where I am trying to assign an org based on an oid that is set as part of the user import.</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'> </span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>The assignment mapping looks like:</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'> </span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'><mapping></span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'> <name>map organization</name></span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'> <strength>strong</strength></span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'> <source></span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'> <path>$user/organizationalUnit</path></span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'> </source></span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'> <expression></span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'> <assignmentTargetSearch></span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'> <targetType>c:OrgType</targetType></span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'> <oid>Need to put organizationalUnit OID here</oid></span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'> </assignmentTargetSearch></span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'> </expression></span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'> <target></span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'> <c:path>assignment</c:path></span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'> </target></span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'></mapping></span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'> </span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'> </span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>Issue is I can’t get the OID value populated in the <oid> tag of the assignmentTargetSearch</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'> </span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>Any help greatly appreciated</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'> </span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>Regards,</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'> </span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>Brad</span><o:p></o:p></p></blockquote></div><p class=MsoNormal><span style='font-family:"Tahoma",sans-serif'><br><br><i>This email, and any attachment, is confidential and also privileged. If you have received it in error, please notify me immediately and delete it from your system along with any attachments. You should not copy or use it for any purpose, nor disclose its contents to any other person. </i></span><o:p></o:p></p></blockquote></div><p class=MsoNormal><br><br><br><o:p></o:p></p><pre>_______________________________________________<o:p></o:p></pre><pre>midPoint mailing list<o:p></o:p></pre><pre><a href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a><o:p></o:p></pre><pre><a href="http://lists.evolveum.com/mailman/listinfo/midpoint">http://lists.evolveum.com/mailman/listinfo/midpoint</a><o:p></o:p></pre></blockquote><p class=MsoNormal><br><br><br><i>This email, and any attachment, is confidential and also privileged. If you have received it in error, please notify me immediately and delete it from your system along with any attachments. You should not copy or use it for any purpose, nor disclose its contents to any other person. </i><o:p></o:p></p></div></body></html>