Creating Batch User Accounts with Concurrent Programs

To create batches of users you must first write user hooks with your own custom logic.

See: Writing User Hooks to Create Batch User Accounts.

When you have created user hooks, you can run a set of concurrent programs to manage the batch creation of users on an ongoing basis.

You run the concurrent programs from the Submit Requests window.

arrow icon   To create batch user accounts with concurrent programs:

  1. Run the User Account Employee Extract Process

    This program extracts employee records and creates a batch file of user accounts to be created or deactivated.

  2. Run Data Pump Engine

    This program uses the batch from the employee extract process and calls the HR API to create or deactivate user accounts.

  3. Submit Data Pump Batch Exceptions Report

    This program reports errors in the Data Pump Engine.

User Account Employee Extract Process

This extract process produces output records which are used by the Data Pump Engine. The Data Pump Engine calls the hr_user_acct_api to create or deactivate user accounts.

The batch name is written to the HR_PUMP_BATCH_HEADERS table. The extracted employee records are written to the HR_PUMP_BATCH_LINES table. The batch line table has defined generic attributes but for each API, the Data Pump generates a view on the HR_PUMP_BATCH_LINES table to reflect the parameters of the API.

The specific views tailored for the hr_user_acct_api are:

Note: You must use a meaningful batch name. For example, run type and date range or another parameter. The batch name is the only way you can identify which batch to select in the Employee Data Pump process and the Data Pump Batch Exceptions Report processes.

arrow icon   To run the user account employee extract process:

  1. Access the User Account Employee Extract Process concurrent program.

  2. Enter a batch name to identify the batch.

  3. Enter the following date input parameters:

  4. Enter the following organization input parameters:

    Note: If you enter values in the Organization parameter, they are superseded by any values you enter in the Organization Hierarchy, Organization Hierarchy Version, and Parent Organization parameters. These parameters always take precedence and replace the values entered in the organization parameter and work together as a set.

  5. Enter the Run Type input parameters by selecting a processing option from the list of values. The processing options are:

    Note: Each employee or worker extracted from the database is recorded in the hr_pump_batch_line table. The hrdpv_create_user_acct view has been defined to map create user accounts to the hr_pump_batch_line table. The hrdpv_update_user_acct view has been defined to map inactivate user accounts to the hr_pump_batch_line table. You can access these views because the API column name is used to identify the record rather than the generic names used in the hr_pump_batch_lines table.

Data Pump Engine

The Data Pump Engine will call the hr_user_acct_api to perform data validation and loading operations. The employee data is recorded in the hr_pump_batch_lines table.

Note: You must run the User Account Employee Extract Process before you run the Data Pump Engine process. The Data Pump Engine depends on the batch id the User Account Employee Extract process creates.

arrow icon   To run the Data Pump Engine concurrent program:

  1. Access the Data Pump Engine concurrent program.

  2. Enter the following parameters:

    See: Oracle HRMS Data Pump

Employee Data Pump Exceptions Report

Each person record is recorded in an individual batch line. The data pump exceptions report will show whether the error is from the batch header or batch line. You can identify which person record is in error from the person id in the exception report.

Note: You must run the User Account Employee Extract Process before you run the Data Pump Engine and Data Pump Batch Exception Report processes. The Data Pump Engine and Data Pump Batch Exception Report processes depend on the batch id the User Account Employee Extract process creates.

arrow icon   To run the Data Pump Batch Exceptions report:

  1. Access the Data Pump Process Exceptions Report concurrent program.

    Note: You can run the Data Pump Engine and Data Pump Batch Exception Report processes in sequence. See: Overview of Concurrent Processes

    See: Oracle HRMS Data Pump