[midPoint] Adding org assignment via User Template

Brad Fardig brad.fardig at cogitogroup.com.au
Mon Aug 22 13:24:19 CEST 2016


Hi Roman,

 

Sorry forgot to say thank you for the quick response.

 

A check of the idm.log  shows that there is an error, which for the example I provided earlier is: 

 

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( <mailto:test.user4 at demo.local> test.user4 at demo.local)

 

 

Regards,

 

Brad

 

 

From: midPoint [mailto:midpoint-bounces at lists.evolveum.com] On Behalf Of Roman Pudil - AMI Praha a.s.
Sent: Monday, 22 August 2016 8:58 PM
To: midPoint General Discussion <midpoint at lists.evolveum.com>
Subject: Re: [midPoint] Adding org assignment via User Template

 

Hi Brad,

 

include your mapping, org definition and response error message.

 

Thanks!


Regards

 

 


Roman Pudil
solution architect

gsm: [+420] 775 663 666
e-mail: roman.pudil at ami.cz <mailto:roman.pudil at ami.cz> 

   

   

AMI Praha a.s.
Pláničkova 11
162 00 Praha 6
tel./fax: [+420] 274 783 239
web: www.ami.cz <http://www.ami.cz> 

   

   

  <http://www.ami.cz/images/podpis/ami_logo.gif> 



 <http://www.ami.cz/reseni-a-sluzby/bezpecnost-dat/identity-management> 



Textem tohoto e-mailu podepisující neslibuje uzavřít ani neuzavírá za společnost AMI Praha a.s.
jakoukoliv smlouvu. Každá smlouva, pokud bude uzavřena, musí mít výhradně písemnou formu.

 

 

 

------ Původní zpráva ------

Od: "Brad Fardig" <brad.fardig at cogitogroup.com.au <mailto:brad.fardig at cogitogroup.com.au> >

Komu: "midpoint at lists.evolveum.com" <midpoint at lists.evolveum.com <mailto:midpoint at lists.evolveum.com> >

Odesláno: 22.8.2016 12:54:47

Předmět: [midPoint] Adding org assignment via User Template

 

Hi,

 

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.

 

The assignment mapping looks like:

 

<mapping>

                <name>map organization</name>

                <strength>strong</strength>

                <source>

                                <path>$user/organizationalUnit</path>

                </source>

                <expression>

                                <assignmentTargetSearch>

                                                                <targetType>c:OrgType</targetType>

                                                                <oid>Need to put organizationalUnit OID here</oid>

                                </assignmentTargetSearch>

                </expression>

                <target>

                                <c:path>assignment</c:path>

                </target>

</mapping>

 

 

Issue is I can’t get the OID value populated in the <oid> tag of the assignmentTargetSearch

 

Any help greatly appreciated

 

Regards,

 

Brad



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. 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20160822/38536123/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5015 bytes
Desc: not available
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20160822/38536123/attachment.bin>


More information about the midPoint mailing list