DescriptionUse this task to create a relation between two core objects. Object Relations tabIn this tab you manage the object relation types. A default entry is already set per tenant. Exactly one configuration must be the default configuration which is used when saving data, see Set up process in Identity Manager, the Save Data task. Include these two fields in an object relations configuration: - Name: name of the object relation type
- Default: determines if this configuration should be the default configuration
ConfigurationTo use this task, configure the following delegate expression in your service task: Code Block |
---|
${createRelationParametrizedJavaDelegate} |
The following parameters can be configured in Identity Manager Admin: Parameter | Mandatory | Value | Description |
---|
source | |
| Data pool name of the source of the relation, which has to be created. The core template name of this data pool will be saved in the database. | destination | |
| Data pool name of the target of the relation, which has to be created. The core template name of this data pool will be saved in the database. | includeRelationTypeToCompareOfObjects | | Valid values: - true
- false (default at design time)
| Flag indicating if the relation type should be included when searching if the relation already exists. If you want to create multiple relations of different types between two core objects this parameter has to be set to true. | exceptionIsThrownIfRelationAlreadyExists | | Valid values: - true (default at design time)
- false
| Flag indicating how the application reacts if the relation already exists. If set to "true" then throw Exception, else do nothing. | relationType | | Default
| Type of the relation. The object relation type must exist or an exception is thrown. |
|