Hello,
We would like to import multiple identity types from a single CSV file.
We currently have two identity types:
operateur→ contains the mandatory attributeoperateurservice→ contains the mandatory attributeservice
The CSV contains both types:
Name
Operateur
Service
DUPONT
OPE001
PASQUET
SRV001
Our current configuration contains:
<defaultObjectTypeId>operateur</defaultObjectTypeId>
The issue is that all rows are automatically considered as operateur identities, which causes an error when the Operateur column is empty for service identities.
We tried using a customAssignmentRule to dynamically determine the identity type:
if
Operateuris populated → type =operateurotherwise → type =
service
However, the script does not seem to be executed.
Questions:
What is the correct way to dynamically determine the
objectTypeduring import?Should we remove the
defaultObjectTypeIdor use multiple SyncTasks instead?
Thanks in advance for your help.