Create a SCIM ETL definition
- UpdatedJan 30, 2025
- 5 minutes to read
- Yokohama
- Now Platform Security
Use the SCIM ETL definitions to map the custom attributes with the sys_user or sys_user_group tables.
Before you begin
Role required: scim_admin
- SCIM Group and SCIM User ETL definitions are part of the base system for resource mapping. You can use the same resource mappings and change the criteria as required, or you can create new resource mappings.
- There is no support for [*] fields through RTE in SCIM mapping.
Procedure
- Follow the instructions in Create Extract Transform Load (ETL) definitions.
- Open the newly created record and view the details.
-
In the ETL Entities section, create an entity by clicking
New.
You have to create entities for the following users:
- scim-user: For the fields that are from SCIM.
- user (sys_user) or group (sys_user_group) table: For the fields that you want to map from the database table with SCIM. For example, for customization of user details through SCIM, you can use the sys_user table.
-
On the form, fill in the fields.
Table 1. ETL Entity form Field Description Name Name of the ETL entity. Application Application scope for this record. Table Target table for the ETL entity. Definition Selected ETL entity. Path Unique path for this entity. Do not specify any path for the entity representing the import set table. When an entity represents a collection, the path must end with an asterisk [*]. This requirement applies to intermediate entries and the target table entity. Synchronize Inserts Option to guarantee only one record with unique coalesced field values by synchronizing record inserts. Run business rules Option to run business rules. -
Click Submit.
The ETL entities are created for scim-user and user tables. You have to create ETL entity fields within these ETL entities, and map both entities by creating an RTE Entity Mapping.
-
Create the entities and map them.
- Open the submitted record (scim-user and user).
- In the ETL Entity fields, add the fields by clicking New.
-
On the form, fill in the fields.
Table 2. ETL Entity form Field Description Name Name of the ETL Entity field definition. Application Selected ETL entity that this field definition belongs to. Field/Path This field is either a column or path. - The field is a column name when the entity is the Import or Target table.
- The field is a path when the field has nested structures.
Entity Entity that this operation applies to. Choose the entity using the look-up icon. Coercion action What the system should do if a reference or choice could not be found. Options are as follows: - Create: Create a new reference or choice. Assign the reference or choice to the current record.
- Reject: Do not save the whole record to the database.
- Ignore: Set the current value as empty.
Definition Selected ETL entity that this field definition belongs to. Coalesce Option to query the existing records. -
Submit the entries by clicking Submit.
You can add multiple entries as your ETL Entity field based on your requirement.
The scim-user ETL entity can have entities with the core extension (user), the ServiceNow extension, or custom extension.
The user ETL entity can have entities from the database table. For example, sys_user table.
Note: To add a filter in the incoming SCIM fields, use an underscore (_
). This underscore translates to an EQ filter. For example, the attribute email.type_work.value applies the SCIM filter of email [type eq “work”].value.After the fields are created in both the scim-user and user ETL Entity records, you have to create an RTE Entity mapping record. You must then specify the source and target definition to map both the fields.
- In the RTE Entity Mappings section, create an entity mapping by clicking New
-
On the form, fill the fields.
Field Description Name Name of the mapping. Source Entity Source entity for the mapping. Target Entity Target entity for the mapping. Order Order in which the mapping should be processed. Is Conditional Option to designate the mapping as conditional. Condition Script Script that defines the conditions that must be met for the mapping. Application Application scope for this record. Definition Selected ETL entity that this mapping belongs to. Ignore Option to designate if this ETL entity mapping should be ignored when performing data integrations using Robust Import Set Transformation (RTE). -
Click Submit.
The following example shows a record created for mapping both the scim-user and user ETL Entity records.
-
Open the submitted record (scim-user-mappings) and create a mapping between the
scim-user and user ETL Entity records.
- In the RTE Field Mappings section, click New.
-
On the form, fill in the fields.
Table 3. ETL Entity fields Field Description Source Field Application scope for this record. Application Selected ETL entity that this field definition belongs to. Target Field Output ETL field for the operation if the operation takes a single output. Entity Mapping Entity mapping that this operation applies to. Referenced Entity Entity that is referenced and the operation that it applies to. Definition Selected ETL entity that this field definition belongs to. Order Order in which the operation runs on the entity. The source field Home Address - Country (scim-user ETL Entity) maps the target field as Country (user ETL Entity).
-
Submit the entries by clicking Submit.
You can add multiple entries as your RTE Entity mappings based on your requirement.
The source fields and targets fields are mapped as configured. When you perform CRUD operations using SCIM, the customized values are updated in the respective table.
Result