Working with PeopleSoft Directory Interface for PeopleSoft HCM

This chapter provides an overview of PeopleSoft Directory Interface for HCM customers. This chapter discusses how to:

Note. If you have also licensed PeopleSoft Campus Solutions, please refer to the PeopleSoft Campus Solutions Application Fundamentals PeopleBook, "Working with PeopleSoft Directory Interface for PeopleSoft Campus Solutions"

Click to jump to parent topicUnderstanding PeopleSoft Directory Interface

PeopleSoft Directory Interface enables you to share data that's maintained in your PeopleSoft HCM database with your Lightweight Directory Access Protocol (LDAP) directory, simplifying directory setup and maintenance.

See Also

PeopleSoft PeopleBook: Enterprise Components

Click to jump to parent topicLoading Directory Data Using the DSMAPINPUT FullSync Load Process

This section provides an overview of the directory load processes and discusses how to:

Click to jump to top of pageClick to jump to parent topicUnderstanding the Directory Load Process

Once you have set up PeopleSoft Directory Interface you can load the data into the directory using the Directory Load process or the DSMAPINPUT FullSync Load process.

Use the DSMAPINPUT FullSync Load process to load only people and their job data. Use the Directory Load process when you are loading location and department entries in addition to person and job data.

Note. The Directory Load process sometimes experiences performance issues when loading a large volume of person data. To avoid these issues, use the DSMAPINPUT FullSync Load process.

Note. Both the DSMAPINPUT FullSync Load and the Directory Load processes overwrite any existing data in the directory.

Click to jump to top of pageClick to jump to parent topicPages Used to Load the Directory Using the DSMAPINPUT FullSync Load Process

Page Name

Definition Name

Navigation

Usage

Directory Load

EO_RUNCTL_DS_LOAD

Enterprise Components, Directory Interface, Load Directory, Directory Load

  • Clean the temporary files.

  • Run the Entry Membership process.

Full Data Publish

EO_FULLDATAPUB

Enterprise Components, Integration Definitions, Initiate Processes, Full Data Publish, Full Data Publish

Use to load person and job data into the directory.

Monitor Overview

IB_MONITOR_OVRVIEW

PeopleTools, Integration Broker, Services Operations Monitor, Monitoring, Asynchronous Services, Monitor Overview

Use to review the status of the DSMAPINPUT_FULLSYNC service operation.

Click to jump to top of pageClick to jump to parent topicCleaning the Temporary Tables

Run the Clean Temp Tables (DSMAPINPUT) process from the Directory Load page.

  1. Specify the appropriate map name and click Run.

  2. Select the DS_CLEANTEMP process from the list and click OK.

Note. Do not run the Directory Load (EO_DS_AUDIT) process at this time.

Click to jump to top of pageClick to jump to parent topicRunning the Full Data Publish

The DSMAPINPUT service operation combines information from a person's job and personal data into one service operation. The DSMAPINPUT_FULLSYNC service operation is based on the DSMAPINPUT service operation structure and is defined within the DSMANCHNL service operation queue. The Full Data Publish utility uses the DSMAPINPUT_FULLSYNC service operation and loads multiple streams of emplID data into the directory.

The utility processes the first active map it finds in the Directory Map table. If several maps contain DSMAPINPUT as the message name, ensure that you activate the service operation for only the message that you want before running this process.

  1. Access the Full Data Publish page.

  2. Select a Process Frequency of Once.

  3. In the Message Name field, enter DSMAPINPUT_FULLSYNC.

  4. Specify a Request ID and description, save your changes and click Run.

  5. Choose the Full Table Data Publish (EOP_PUBLISHT) process and click OK.

Click to jump to top of pageClick to jump to parent topicReview Transactions Using Service Operations Monitor

Monitor the message queue to determine the status of the DSMAPINPUT_FULLSYNC service operation within the DSMANCHNL service operation queue.

  1. Access the Monitor Overview page of the Asynchronous Services component.

  2. If the Started column has a number greater than zero, it means the message is still being processed. When the subscriptions are completed, the only column that will have a number greater than zero is the Done column.

See Also

PeopleTools PeopleBook: PeopleSoft Integration Broker

Click to jump to top of pageClick to jump to parent topicRun the Entry Membership Process

After verifying on the Monitor Overview page that all message subscriptions are complete, run the Entry Membership (DSMAPINPUT) process to load members into directory groups based on the Entry Membership Rules.

  1. Access the Directory Load page.

  2. Specify the appropriate map and click Run.

  3. Choose the DS_ENTRY process and click OK.

Note. Do not run the Clean Temp Tables or the Directory Load (EO_DS_AUDIT) process at this time.

Click to jump to parent topicAuditing Directory Data Using the DSMAPINPUT FullSync Process

This section provides an overview of the directory auditing processes and discusses how to:

Click to jump to top of pageClick to jump to parent topicUnderstanding the Directory Audit Process

Once you have loaded data into the directory and started processing transactions, you can regularly run the Directory Audit process or DSMAPINPUT FullSync Audit process to compare the data in the database to that in the directory.

Use the DSMAPINPUT FullSync Audit process to audit only people and their job data. Use the Directory Load process when you are auditing data that includes location and department entries in addition to person and job data.

Note. The Directory Audit process sometimes experiences performance issues when loading a auditing volume of person data. To avoid these issues, use the DSMAPINPUT FullSync Audit process.

Click to jump to top of pageClick to jump to parent topicPages Used to Audit the Directory Using the DSMAPINPUT FullSync Audit Process

Page Name

Definition Name

Navigation

Usage

Directory Audit

EO_RUNCTL_DS_AUDIT

Enterprise Components, Directory Interface, Run Directory Audit, Directory Audit

  • Use to clean and load the temporary files.

  • Load members into directory groups using entry membership rules and merge contents of multiple LDIF files into a single file.

Full Data Publish

EO_FULLDATAPUB

Enterprise Components, Integration Definitions, Initiate Processes, Full Data Publish

Use a set of rules to publish the DSMAPINPUT_FULLSYNC_A service operation.

Monitor Overview

IB_MONITOR_OVRVIEW

PeopleTools, Integration Broker, Services Operations Monitor, Monitoring, Asynchronous Services, Monitor Overview

Use to review the status of the DSMAPINPUT_FULLSYNC_A service operation.

Click to jump to top of pageClick to jump to parent topicCleaning and Loading the Temporary Tables

Run the Clean Temp and Load from Dir (EODS_CLEANLD) process from the Directory Audit page.

  1. Specify the appropriate map name and click Run.

  2. Select the EODS_CLEANLD process from the list and click OK.

Note. Do not run the Directory Load (EO_DS_AUDIT) process.

Click to jump to top of pageClick to jump to parent topicRunning Full Data Publish for DSMAPINPUT_FULLSYNC_A

The DSMAPINPUT service operation combines information from a person's job and personal data into one service operation. The DSMAPINPUT_FULLSYNC_A is a FullSync service operation that is based on the DSMAPINPUT service operation structure and is defined within the DSMANCHNL service operation queue. The queue is partitioned on the emplID field to enable parallel processing. The Full Data Publish utility publishes the service operation. The subscription utility processes multiple streams of emplID data simultaneously. Each subscription produces a unique LDIF file containing LDAP commands for a range of people.

The utility processes the first active map it finds in the Directory Map table. If several maps contain DSMAPINPUT as the message name, ensure that you activate the service operation for only the message that you want before running this process.

  1. Access the Full Data Publish page.

  2. Select a Process Frequency of Once.

  3. In the Message Name field, enter DSMAPINPUT_FULLSYNC_A.

  4. Specify a Request ID and description, save your changes and click Run.

  5. Choose the Full Table Data Publish (EOP_PUBLISHT) process and click OK.

Note. You can choose to use your own service operation instead of DSMAPINPUT_FULLSYNC_A but you must add FULLSYNC_A to the name of the service operation from the directory map. For example, if PERSMSG is a configured service operation specified on the map for person entries, name the service operation PERSMSG_FULLSYNC_A.

Click to jump to top of pageClick to jump to parent topicReview Transactions Using Service Operations Monitor

Monitor the service operation queue to determine the status of the DSMAPINPUT_FULLSYNC_A message within the DSMANCHNL service operation queue.

  1. Access the Monitor Overview page.

  2. If the Started column has a number greater than zero, it means the message is still being processed. When the subscriptions are completed, the only column that will have a number greater than zero is the Done column.

See Also

PeopleTools PeopleBook: PeopleSoft Integration Broker

Click to jump to top of pageClick to jump to parent topicLoading Directory Group Members and Merge LDIF Files

After verifying on the Monitor Overview page that all service operation subscriptions are complete, run the Entry Membership and LDIF Merge (EODS_LDIFMRG) process to load members into directory groups based on the Entry Membership Rules and to merge the contents of all the LDIF files that were generated during the full table publish. You can review the merged file later, modify the contents, and import them into the directory later.

To run the Entry Membership and LDIF Merge process:

  1. Access the Directory Audit page.

  2. Specify the appropriate map and click Run.

  3. Choose the EODS_LDIFMRG process and click OK.

Note. Do not run the Clean Temp Tables or the Directory Load (EO_DS_AUDIT) process at this time.

Click to jump to parent topicUsing PeopleSoft Directory Interface with HCM

This section discusses how to:

Click to jump to top of pageClick to jump to parent topicAccessing Sample Mappings and Delivered Service Operations

If you have licensed PeopleSoft Directory Interface for HCM, PeopleSoft provides you with sample mappings and service operations for HCM.

Click to jump to top of pageClick to jump to parent topicUsing Sample Mappings

To use sample mappings that PeopleSoft delivers, establish directory IDs in the Directory Configurations component (PSDSSETUP) and add a directory ID to the mappings. The sample mappings use schema objects from a standard Novell eDirectory.

We developed the sample mappings assuming that you are using the tree structure illustrated below, which is HR_PERSONs reporting to HR_DEPARTMENT, the departments are associated to the HR_LOCATION, which report to the corporate level, or HR_COMPANY:

Sample Directory Interface tree

Note. PeopleSoft delivers HR_LOCATION, HR_DEPARTMENT, and HR_PERSON as sample mappings

Click to jump to top of pageClick to jump to parent topicReviewing Delivered Service Operations

The following sections describe the delivered sample service operations and PeopleCode functions that are related to your directory mappings.

Directory Interface Service Operations

PeopleSoft Directory Interface delivers the following sample messages for mapping PeopleSoft data to the directory.

Service Operation Name

Directory Entry

DSLOCATION_SYNC

Location Entry (syncs entire record)

DSLOCATION_SYNC_EFF

Location Entry (syncs current row)

DSDEPT_SYNC

Department Entry (syncs entire record)

DSDEPT_SYNC_EFF

Department Entry (syncs current row)

DSWORKFORCE_SYNC

Job Entry (syncs entire record)

DSWORKFORCE_SYNC_EFF

Job Entry (syncs current row)

DSPERSON_BASIC_SYNC

Person Entry (syncs entire record)

DSPERSON_BASIC_SYNC_EFF

Person Entry (syncs current row)

Note. The Directory Interface engine, using the message level HCDI_SERVICES:HCDIUtilities.runPOIandIdentifictn, populates the DSIDENTIFICTN table with HCM values that you can use for creating directory interface maps. For example, it generates a Universal Unique Identifier string and stores it in DSIDENTIFICTN.DSUUID and a default Unique Identifier, stored in DSIDENTIFICTN.DSUID. The default unique identifier defaults to the current person's email address, or, if blank, to the First Name + Last Name.

The UID field is limited to fifty characters. The system truncates the person's name if it exceeds fifty characters.

See PeopleTools PeopleBook: PeopleSoft Integration Broker

DSMAPINPUT Message

The DSMAPINPUT service operation, which corresponds to Directory Input, is a sample service operation that combines a person's job and personal data into one service operation. The DSWORKFORCE_SYNC mservice operation publishes person's job information. The DSPERSON_BASIC_SYNC service operation publishes a person's personal information.

In the subscription of DSWROKFORCE_SYNC and DSPERSON_BASIC_SYNC, the service operation is passed as input into the BuildMappingMessage, which populates the DSMAPINPUT service operation with the employee's job and personal data. This enables you to map job and personal data for one service operation to one directory entry.

BuildMappingMessage Syntax

The BuildMappingMessage function populates a service operation with data that is stored in another service operation and with data from the local database. After populating the service operation from the two data sources, it calls the mapping function. When all the data required for directory mapping isn't in the original published service operation, BuildMappingMessage uses this function instead of directly calling the mapping function:

BuildMappingMessage (input message, output message, on-line flag, [, map name])

The function performs the following tasks:

The BuildMappingMessage is found in the application package and class that is associated with handler of the _EFF service operation. For example, you can find the BuildMappingMessage for the DSLOCATION_SYNC_EFF service operation in theDSMappingSub application class, which is part of DSLOCATION_SYNC_EFF application package. The BuildMappingMessage code is in the FUNCLIB_EO_DS derived record, DSMAPMESSAGE field, FieldFormula event.

Parameters

Name

Type

Description

input service operation

Message

Pass the message containing the originally published data.

output service operation

String

Specify the name of the message to be created, populated, and passed to the mapping function.

online flag

Boolean

Set to true if the function is called after an online message publication. This flag isn't used by the BuildMappingMessage function, but it is passed to the mapping function.

map name

String

Specify the name of the map to be used if the function shouldn't call every map associated with the output message.

An example:

Local Message &MsgIn; BuildMappingMessage(&MsgIn, "DSMAPINPUT", True, "PERSON_NDS");