This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

1IM V7.1 Synchronisation Projects - One to Many Relationships

I'm in the process of creating a connector to an application that has a specific use case; and wanted to see if anybody else has done anything similar.

The application in question uses a simple SQL database that doesn’t have any primary keys set as users can have multiple entries (depending on their needs). It's possible to create a Column Group that will contain a unique value to serve as the primary key.

I had the idea of using group memberships to create the associated records in the user table of the application. Basically, once a request for a level of access has been processed, users would obtain a single Account Definition which would create an entry in the UNSAccountB space and membership to a UNSGroupB based on their requested access. A synchronisation project would be configured to map the details from UNSAccountBInUNSGroupB to the application’s table.

As a PoC, I’ve managed to get the synchronisation project provisioning new records to the application table, however I seem to be having troubles with the use of a Column Group as a Primary Key when it comes to mapping the existing records. This means that once 1IM provisions the records, consequent synchronisation attempts failed with the error “An item with the same key already exists”.

  • Has anybody tried doing something similar in the past?
  • Has anybody had any issues in the past using Column Groups as Primary Keys and then in Join Rules?

I have noticed that browsing the target system shows the objects with a slightly different key structure than what’s actually written to the virtual attribute. I have tried all sorts of combinations and configurations for the joining rule attributes but all have had the same results.