Skip to main content

Data import

Connection details

ParameterValue
Base URL{Base URL}
Authentication typeOAuth2 Custom
Token endpoint[Token endpoint]
OAuth token typeBearer
Auth request bodygrant_type=refresh_token&refresh_token={Refresh token}&client_id={Client id}&client_secret={Client secret}
Auth request content typeapplication/x-www-form-urlencoded
Authentication server response formatJSON
Access Token Locationaccess_token
Authorization headerAuthorization
Test connectionSelect the checkbox

Queries and mappings

Workers - identity

Additional fields can be mapped by adding them directly to the mapping configuration.

Parameters

TabParameterValue
GeneralURLccx/api/staffing/v6/ibmsrv_pt1/workers
GeneralDistinctYes
GeneralEnabledSelect the checkbox
AdvancedHTTP verbGET
AdvancedURL is a DynamicExpresso expressionNo
PagingChange pagingNo

In the URL, you can add a query parameter to include or exclude terminated workers:

Include: ccx/api/staffing/v6/ibmsrv_pt1/workers?includeTerminatedWorkers=true
Exclude: ccx/api/staffing/v6/ibmsrv_pt1/workers?includeTerminatedWorkers=false

Mappings

DestinationOperatorSource
Business keyMapid
Unique IDMapid
NameMapdescriptor
StatusConstantActive
First nameExpressiondescriptor.Split(' ')[0]
Last nameExpressiondescriptor.Split(' ')[descriptor.Split(' ').Length - 1]
EmailMapperson_email
Job titleMapprimaryJob_descriptor
CountryMapprimaryJob_location_country_ISO_31661_Alpha3_Code
Employee IDMapworkerId
TypeConstantPrimary
CategoryConstantEmployee

Optional:

  • You can set the status to either terminated or active by using the following expression: descriptor.Contains("(Terminated)") ? "Terminated" : "Active".
  • You can add extra extensions to retrieve work types and additional jobs:
DestinationOperatorSource
workTypeMapworkerType_descriptor
additionalJobMapadditionalJobs_descriptor

Supervisory Organizations – context

Additional fields can be mapped by adding them directly to the mapping configuration.

Parameters

TabParameterValue
GeneralURLccx/api/staffing/v6/ibmsrv_pt1/supervisoryOrganizations
GeneralDistinctYes
GeneralEnabledSelect the checkbox
AdvancedHTTP verbGET
AdvancedURL is a DynamicExpresso expressionNo
PagingChange pagingNo

Mappings

DestinationOperatorSource
Business keyExpression"SupervisoryOrganization_" + id
NameMapdescriptor
TypeConstantOrgUnit
Short nameExpression"SupervisoryOrganization_" + id

Locations – context

Additional fields can be mapped by adding them directly to the mapping configuration.

Parameters

TabParameterValue
GeneralURLccx/api/staffing/v6/ibmsrv_pt1/workers
GeneralDistinctYes
GeneralEnabledSelect the checkbox
AdvancedHTTP verbGET
AdvancedURL is a DynamicExpresso expressionNo
PagingChange pagingNo

Mappings

DestinationOperatorSource
Business keyExpression"Location_" + primaryJob_location_id
NameMapprimaryJob_location_descriptor
TypeConstantLocation
Short nameExpression"Location_" + primaryJob_location_id

Countries – context

Additional fields can be mapped by adding them directly to the mapping configuration.

Parameters

TabParameterValue
GeneralURLccx/api/staffing/v6/ibmsrv_pt1/workers
GeneralDistinctYes
GeneralEnabledSelect the checkbox
AdvancedHTTP verbGET
AdvancedURL is a DynamicExpresso expressionNo
PagingChange pagingNo

Mappings

DestinationOperatorSource
Business keyExpression"Country_" + primaryJob_location_country_ISO_31661_Alpha3_Code
NameMapprimaryJob_location_country_descriptor
TypeConstantCountries
Short nameExpression"Country_" + primaryJob_location_country_ISO_31661_Alpha3_Code

Job title – context

Additional fields can be mapped by adding them directly to the mapping configuration.

Parameters

TabParameterValue
GeneralURLccx/api/staffing/v6/ibmsrv_pt1/workers
GeneralDistinctYes
GeneralEnabledSelect the checkbox
AdvancedHTTP verbGET
AdvancedURL is a DynamicExpresso expressionNo
PagingChange pagingNo

Mappings

DestinationOperatorSource
Business keyExpression"JobTitle_" + primaryJob_id
NameMapprimaryJob_descriptor
TypeConstantJobTitle
Short nameExpression"JobTitle_" + primaryJob_id

Supervisory Organization Assignments for Identities – context assignment

This mapping establishes the relationship between workers and supervisory organizations. It ensures that the worker identity is correctly linked to the supervisory organization within Omada.

Parameters

TabParameterValue
GeneralURLccx/api/staffing/v6/ibmsrv_pt1/workers
GeneralDistinctYes
GeneralEnabledSelect the checkbox
AdvancedHTTP verbGET
AdvancedURL is a DynamicExpresso expressionNo
PagingChange pagingNo

Mappings

DestinationOperatorSource
Context business keyExpression"SupervisoryOrganization_" + primaryJob_supervisoryOrganization_id
Identity UIDMapid

Location Assignments for Identities – context assignment

This mapping establishes the relationship between workers and locations. It ensures that the location is correctly linked to the corresponding worker identity within Omada.

Parameters

TabParameterValue
GeneralURLccx/api/staffing/v6/ibmsrv_pt1/workers
GeneralDistinctYes
GeneralEnabledSelect the checkbox
AdvancedHTTP verbGET
AdvancedURL is a DynamicExpresso expressionNo
PagingChange pagingNo

Mappings

DestinationOperatorSource
Context business keyExpression"Country_" + primaryJob_location_country_ISO_31661_Alpha3_Code
Identity UIDMapid

Supervisory Organization managers – context owner

This mapping establishes the relationship between managers and supervisory organizations. It ensures that the manager identity is correctly linked to the supervisory organization within Omada.

Parameters

TabParameterValue
GeneralURLccx/api/staffing/v6/ibmsrv_pt1/supervisoryOrganizations
GeneralDistinctYes
GeneralEnabledSelect the checkbox
AdvancedHTTP verbGET
AdvancedURL is a DynamicExpresso expressionNo
PagingChange pagingNo

Mappings

DestinationOperatorSource
Context business keyExpression"SupervisoryOrganization_" + id
Identity UIDMapmanagers_id
TypeConstantOrgUnit

Job titles assignments for Identities – Context assignment

The following mapping is currently not part of the standard package. You can add it manually. This mapping establishes the relationship between workers and job titles.

  1. Open Queries and mappings. Click New.
  2. Select Context assignment as the object type for your query.
  3. In the General section, enter the following details:
    • URL: ccx/api/staffing/v6/ibmsrv_pt1/workers
    • Distinct: Yes
    • Description: Job titles and workers
  4. In Mappings, enter the following details:
    • Context business key (Expression): "JobTitle_" + primaryJob_id
    • Identity UID (Map): id
  5. Click OK.

Parameters:

TabParameterValue
GeneralURLccx/api/staffing/v6/ibmsrv_pt1/workers
GeneralDistinctYes
GeneralEnabledSelect the checkbox
AdvancedHTTP verbGET
AdvancedURL is a DynamicExpresso expressionNo
PagingChanging pagingNo

Mappings:

DestinationOperatorSource
Context business keyExpression"JobTitle_" + primaryJob_id
Identity UIDMapid

Advanced configuration

ParameterValue
Paging mechanismURL Parameters
URL parametersoffset={index}&limit=100
Starting index0
Total fieldtotal

Additional configuration

Perform the following configuration to align Workday's data model with the identity and context structure of Omada Identity. This will ensure correct linking of identities to contextual entities (country/location) that are essential for policies that depend on contextual attributes (for example, location-specific policies). The configuration completes the governance logic.

Modifying the data object type

  1. In Omada Identity, go to Setup and then Data object types.
  2. In the Name filtering field, enter Countries.
  3. Click Properties and then Add.
  4. Add two properties with the following System names: OWNERREF and ODWBUSIKEY. Click OK.

Creating context type - countries

  1. In Omada Identity, go to Setup and then Context types. Click New.
  2. Enter the following details:
    • Name: Countries
    • Object type: Countries
    • Owner property: Owner [OWNERREF]
    • Membership property: Country [COUNTRY]

Import profiles

  1. In Omada Identity, go to Setup and then Import profiles.
  2. From the list, select Import. Click Start import and wait until the import is completed.

Omada Identity configuration

  1. In Omada Identity, go to Setup > All systems, and then select your system.
  2. Click one of the following options:
    • (on-premises) Warehouse to portal mapping
    • (cloud) Export queries and mappings
  3. Open the first Identities data object type and then click Mappings.
  4. Enter the following details:
    • Email: select Map as the operator; search and select Email as Source.
    • EmployeeID: select Map as the operator; search and select EmployeeID as Source.
  5. Perform the following procedure for Location and Countries:
  1. Enter the following details:

    • Operator: Lookup
    • Source (search source field): ComposedBusinessKey
  2. Click Edit. Enter the following details (ensure to change the ContextType to the respective destination you are editing):

    • Target key property: ODWBUSIKEY
    • Lookup view: Context assignments
    • Lookup join field: IdentityComposedBusinessKey (on-premises) or Identity_ComposedBusinessKey (cloud)
    • Lookup value field: ContextComposedBusinessKey (on-premises) or Context_ComposedBusinessKey (cloud)
    • Lookup field: [ContextType]= 'Location' (on-premises) or {context:{type:{eq:"Location"}}} (cloud)
  3. Click OK.

Location

  1. Enable the two data object types named Location. Open the first one and select the Source tab.
  2. In the Additional filtering (SQL) field, change Personal Area to Location (the complete entry: [Type]='Location').
  1. Click OK.

Countries

  1. In Warehouse to portal mappings, click New. From the list, select Countries. Click OK.
  1. Open the new Countries data object type.
  2. Under Destination, enter the following details:
    • Operation: Update or create
    • Key property: ISO code
  3. Under Source, enter the following details:
    • (on-premises) Warehouse view: Contexts
    • (cloud) Entity type: Context
    • Scope: New and updated objects
    • Action on objects originating from ES: Exclude
  4. Under Mappings, enter the following details:
    • Business key: ComposedBusinessKey (Map)
    • ISO code: ShortName (Map)
    • Name: Name (Map)
  5. Click OK.

Adding fields in the identity

Perform the following steps to view the location, country, and employeeID of a specific identity after an import (this procedure can be completed after the import and then followed by an additional import).

  1. Go to Setup > Identities. Open any identity.
  2. Press Ctrl + right click and select Form designer. Click OK.
  3. Click Add existing property, and then OK.
  4. Select the following fields: Location, Country, and EmployeeID. Click OK.
  5. Click Apply.

Event definitions

  1. Go to Setup > Event definitions.
  2. Search for the event definition: load
  3. Open the Create identity user (initial load only) event definition.
  4. Select the Disabled checkbox. Click Apply and OK.

  1. Go to Setup > Event definitions.
  2. Search for the event definition: Email
  3. Open the Generate Email for Identities event definition.
  4. Select the Disabled checkbox. Click Apply and OK.