Introduction
In order to connect source attributes (let’s say the first name in SAP HCM) to a target attribute (let’s say the first name in the CoreOne Meta Directory) we have to configure a MappingConfiguration
. There are rather simple ones where we simply map one attribute to another one and there are more complex ones where we also transform the data. This page describes the available mappings.
Mapping Types
There are two types of mappings, AttributeMapping
and PropertyMapping
. AttributeMapping
are used to map to an attribute of an entity such as a first name of an Core Identity. Some entities have predefined properties that are not stored as attributes. To map those, you have to configure an PropertyMapping
. An example for a PropertyMapping
is the tenant on a Core Identity.
Attribute Mappings
Mapping Configuration | Description | Example |
---|---|---|
| Can be used to map a target attribute to a fixed value. |
|
| Can be used to map a target attribute to a source attribute |
|
| Can be used to map a target attribute to a fixed value based on the source value |
|
Property Mappings
Mapping Configuration | Description | Example |
---|---|---|
| Can be applied to a source list and will return all values that match a criteria with the option to replace those values with new ones. I.e. the source collection is a list of customers ids. If customer id 1000 is present in the list, return the customer name “BestRun”. Multiple of such conditions can be applied. | |
| Can be applied to a source list and will return all values that match a regex pattern with the option to replace those values with new ones. I.e. the source collection is a list of customers ids. If the id matches 100*, return the customer name “BestRung”. | |
| Can be used to map a target property to a fixed value. |
|
| Resolves to the ID of a Core Identity in the CoreOne Meta Directory based on a given Attribute ID and Value | |
| Resolves to the ID of a Core Identity in the CoreOne Meta Directory based on a foreign id | |
| Resolves to the ID of a Core Identity in the CoreOne Meta Directory based on a given object id of an identity | |
| Resolves to the ID of a resource in the CoreOne Meta Directory based on a given Attribute ID and Value | |
| Resolves to the ID of a resource in the CoreOne Meta Directory based on a given foreign id | |
| Resolves to the ID of a resource in the CoreOne Meta Directory based on a given object id of an resource | |
| Resolves to the ID of a resource in the CoreOne Meta Directory based on a given Attribute ID and Value of an existing resource definition | |
| Resolves to the ID of a role in the CoreOne Meta Directory based on a given Attribute ID and Value | |
| Resolves to the ID of a role in the CoreOne Meta Directory based on a given foreign id | |
| Can be used to map a target property to a source attribute |
|
| Can be used to map a target property to a source attribute and formats the value to a specific date time | |
| Can be used to map a target attribute to a fixed value based on the source value |
Value Processors
Some of the mapping processors can be further enhanced with value processors. In this case, the resolved value will be further transformed by using a list of value processors. The following are the values processors that are available.
Value Processors | Description | Example |
---|---|---|
| Takes elements out of a collection based on a mode. Modes are | |
| Resolves a source attribute to a valid language supported in the system | |
| Returns null if the source value is null or empty, if not it returns the trimmed value | |
| Returns the a value if a regex pattern matches the source attribute, if not another | |
| Replaces the configured pattern in the source attribute | |
| Formats the source attribute according to the input | |
| Converts the source attribute to a date time | |
| Returns a sub property of a complex source attribute | |
| Returns a substring of the source attribute | |
| Trims trailing and leading white spaces of a source attribute |