[midPoint] Importing multiple accounts

Ivan Noris ivan.noris at evolveum.com
Thu Nov 24 22:22:05 CET 2016


Hi Aivo,

what attribute is configured as unique identifier in your CSV resource....?

Ivan


On 11/24/2016 10:18 PM, Aivo Kuhlberg wrote:
>
> Hello,
>
> In our HR system the same person can appear multiple times, for
> example when he/she has 2 jobs.  My problem is how to import these
> users to midPoint? Even when the same user appears multiple times in
> HR system I want to see in midPoint only one user. So I believe I have
> to import both accounts under one midPoint user where these should
> appear as separate projections.
>
> Below is the example CSV-file which I tested. Here I try to import the
> same user multiple times and in synchronization settings I am
> correlating users by personalcode attribute which is unique for every
> person:
>
>
> "sapcode","personalcode","firstname","lastname","email","title"
> "8000001","10101010001","John","Smith","john.smith at org.com","Specialist"
> "8000011","10101010001","John","Smith","john.smith at org1.com","Adviser"
>  
>
> Unfortunately when I import that file then first line is imported
> successfully but second line fails:
>
>
> 2016-11-24 22:31:38,733 [] [midPointScheduler_Worker-5] INFO
> (com.evolveum.midpoint.model.impl.util.AbstractSearchIterativeResultHandler):
> Import object shadow:d8cb8f9d-4209-42c8-8d97-7f9392e86edd(8000001)
> from resource:920cc5ee-ef7e-4d7b-9bcd-cc4edf60439e(HR users) done with
> status SUCCESS (this one: 352 ms, avg: 352 ms) (total progress: 1,
> wall clock avg: 434 ms)
> 2016-11-24 22:31:38,897 [] [midPointScheduler_Worker-5] ERROR
> (com.evolveum.midpoint.model.impl.sync.SynchronizationServiceImpl):
> SYNCHRONIZATION: Error in synchronization on
> resource:920cc5ee-ef7e-4d7b-9bcd-cc4edf60439e(HR users) for situation
> UNMATCHED: ObjectAlreadyExistsException: Error processing
> focus(user:null(john.smith)): constraint violation: Found conflicting
> existing object with property name =
> PP({.../common/common-3}name):[PPV(PolyString:john.smith)]:
> user:c74b5771-f8dc-4929-83a1-2afbf2a8f875(john.smith). Change was
> ResourceObjectShadowChangeDescription(objectDelta=ObjectDelta(ShadowType:48764d07-8db2-4555-ac5a-4d7c5a9f446b,ADD:
> shadow:48764d07-8db2-4555-ac5a-4d7c5a9f446b(8000011)),
> currentShadow=shadow:48764d07-8db2-4555-ac5a-4d7c5a9f446b(8000011),
> oldShadow=null,
> sourceChannel=http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#import,
> resource=resource:920cc5ee-ef7e-4d7b-9bcd-cc4edf60439e(HR users)
>
>
> What I am doing wrong?
>
> Thanks,
>
> Aivo Kuhlberg
>
>
> ------------------------------------------------------------------------
> Käesolev e-kiri võib sisaldada asutusesiseseks kasutamiseks
> tunnistatud teavet.
> This e-mail may contain information which is classified for official use.
>
>
> _______________________________________________
> midPoint mailing list
> midPoint at lists.evolveum.com
> http://lists.evolveum.com/mailman/listinfo/midpoint

-- 
Ivan Noris
Senior Identity Engineer
evolveum.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20161124/7db0e0a3/attachment.htm>


More information about the midPoint mailing list