Loading Business Attribute Tables
These topics provide an overview of the business attribute table loading procedure and discuss how to:
Use a DataMover script to load business attributes.
Use the PeopleSoft Publish utility to load business attributes.
Synchronize business attributes.
See the product documentation for PeopleTools: Data Management, "Using the Publish Utility."
System administrators are responsible for importing the record definition of the business attribute tables into the PeopleSoft Interaction Hub database, if they do not already exist, as well as running the necessary integrations to load the tables. This step needs to be done only once, at implementation time. The tables are used to retrieve the description of the attributes for display on the User Business Data Attributes page. System administrators can use PeopleSoft DataMover scripts or other utilities to export the business attribute source table contents and import them into the Interaction Hub tables, or use some of the more common integrations that may already exist. For example, when the business attributes data source is PeopleSoft HCM, you can use the HR COMPANY_FULLSYNC service operation, which uses Integration Broker to transport data from PeopleSoft HCM to another node, to load the Company table. For ongoing synchronization, the incremental service operations could be used. The following example describes how to load the business attributes from PeopleSoft HCM.
Loading Business Attributes from PeopleSoft HCM
To load business attribute data from PeopleSoft HCM to PeopleSoft Interaction Hub:
Using Application Designer, login to the PeopleSoft HCM database, copy the record definition of the business attribute table and any defined subrecords into a project, then export the project to a file.
For example, for the Department business attribute, you would export the record PS_DEPT_TBL and its Related Language record.
Using Application Designer, login to the PeopleSoft Interaction Hub database, import the project from the previous step and build the record definition.
Note: Steps 1 and 2 have been completed for these sample delivered PeopleSoft HCM 9.1 records: BU_UNIT_TBL_HR, COMPANY_TBL, DEPT_TBL, LOCATION_TBL. If you are using a different record version due to a different PeopleSoft HCM release or patch level, you will need to export the record definition from PeopleSoft HCM and import that record definition into the PeopleSoft Interaction Hub database.
For the initial data load, populate the tables using either a DMS script or the PeopleSoft Publish utility.
To use a DataMover (DMS) script:
Using DataMover, log in to the PeopleSoft HCM database and export the table to a flat file.
Using DataMover, log in to the PeopleSoft Interaction Hub database and import the file from the previous step.
Sample Export DMS Script
This is an example of a DMS script to export company data from PeopleSoft HCM.
set log c:\temp\company_exp.log;
set output c:\temp\company.dat;
export COMPANY_TBL;
export COMPNY_TBL_LANG;
Sample Import DMS Script
This is an example of a DMS script to import the company data that was exported from PeopleSoft HCM into PeopleSoft Interaction Hub.
set log c:\temp\company_imp.log;
set UPDATE_DUPS;
set input c:\temp\company.dat;
import *;
To use the PeopleSoft Publish utility:
Configure Integration Broker in PeopleSoft HCM.
Configure Integration Broker in PeopleSoft Interaction Hub.
Run the PeopleSoft Publish utility in PeopleSoft HCM.
Verify the results in the PeopleSoft Interaction Hub database.
Note: In some cases, improved performance with FULLSYNC messages can be achieved by decreasing the message size to be within the range of 25,000–100,000 bytes.
The following sample configuration describes the steps for the BU_UNIT_TBL_HR full sync.
Configuring Integration Broker in PeopleSoft HCM
To configure Integration Broker in PeopleSoft HCM:
Navigate to
and select BUS_UNIT_HR_FULLSYNC.Select the default service operation and set it to active.
Activate the routing to publish to the PeopleSoft Interaction Hub node. If no routing exists, add one.
Configuring Integration Broker in PeopleSoft Interaction Hub
To configure Integration Broker in PeopleSoft Interaction Hub:
Navigate to
.Select and activate service BUS_UNIT_HR_FULLSYNC.
If none exists, add a new service.
Select and activate the default service operation.
If this is a new service, add an asynchronous one-way service operation BUS_UNIT_HR_FULLSYNC.VERSION_1 using the corresponding message for the service.
If no message exists, add a rowset-based message called BUS_UNIT_HR_FULLSYNC, version VERSION_1 and add record definition BUS_UNIT_TBL_HR to the root.
If the service operation already exists for the Resource Finder feature and it uses a nonrowset-based message, continue to next step. A new handler will be created downstream to update the business attribute table.
Set the Queue name to match the one for the service operation in HR, for example, HR_SETUP.
Verify that the service operation permission is set. If none exists, set the service operation security to use permission list PAPP9000.
Activate handler. Depending on whether a handler already exists or not, proceed as follows:
If no handler exists, add an application package/class in Application Designer using the sample handler PeopleCode provided in “Sample Business Attributes Service Operation Handler PeopleCode.” The application package is usually the same name as the service.
In PIA, add a handler to the service operation with the new application class.
If a handler already exists for the Resource Finder feature, in Application Designer add a new application class to the existing application package using the sample handler PeopleCode in “Sample Business Attributes Service Operation Handler PeopleCode.”
In PIA, add a new handler to the service operation with the newly added application class.
Activate the routing.
If none exists, generate an Any-to-Local routing on the General tab of the Service Operation.
Select the Routing Parameters tab and verify the EXTERNAL alias matches the expected incoming message name and version (BUS_UNIT_HR_FULLSYNC.VERSION_1 in this example).
Running the PeopleSoft Publish Utility in PeopleSoft HCM
To run the PeopleSoft Publish utility, complete these steps in PeopleSoft HCM:
Navigate to
Select Service Operation BUS_UNIT_HR_FULLSYNC and verify that it is active. Select Create Message Header and Create Message Trailer if they are not already selected.
Navigate to
.Add a run control or use an existing one.
Set Service Operation to BUS_UNIT_HR_FULLSYNC and click Run.
Select the Full Table Data Publish process and click OK.
Verify process goes to Success.
Navigate to
.Select the Publication Contracts page and verify transaction(s) are successful.
Verifying the Results in the PeopleSoft Interaction Hub Database
To verify the results, in PeopleSoft Interaction Hub complete these steps:
Navigate to
.Select the Subscription Contracts page and verify transaction(s) are successful.
Verify the User Profile has been populated by querying the BUS_UNIT_TBL_HR table.
For incremental synchronization of the business attributes, repeat steps 1, 2, and 4 in Using the PeopleSoft Publish Utility to Load Business Attribute Data, using service operation BUS_UNIT_HR_SYNC.
See Using the PeopleSoft Publish Utility to Load Business Attribute Data.