Purge Person Data from Test Environments
This topic describes how to run the Purge Person Data in Test Environments process. The process must be enabled for use in your test environment.
This topic also describes how to run Send Pending LDAP Requests to process user-deletion requests generated by the Purge Person Data in Test Environments process.
Run the Purge Person Data in Test Environments Process
You must have the Purge Person Data in Test Environments function security privilege to run this process. The predefined Human Capital Management Integration Specialist job role has this privilege.
Sign in and follow these steps:
-
Select
. -
In the Scheduled Processes work area, click Schedule New Process.
-
In the Schedule New Process dialog box, search for and select the Purge Person Data in Test Environments process.
-
In the Process Details dialog box, set one of the following parameters to identify the person data to purge.
Parameter
Description
Person ID
Provide one or more person IDs. Separate multiple IDs with commas, for example,
100010034148157,100010034148169,100010034148181,100010034148192
.Person Number
Provide one or more person numbers. Separate multiple numbers with commas. You can use the wildcard character to supply partial values, for example,
PER%,Test%,%abc%
.Person Query
Enter a SQL query to return the person IDs of all persons whose data you want to purge.
To return the person IDs of all person records where the last name starts with the characters
John
, you could use the following SQL query:SELECT papf.person_id FROM per_all_people_f papf, per_person_names_f ppnf WHERE ppnf.last_name like 'John%' and ppnf.person_id = papf.person_id
To return all person IDs in the test environment, use the following SQL query:
SELECT person_id FROM per_all_people_f
-
Set the Save parameter, as follows.
Save Value
Description
N
Lists the persons whose data would be purged by the process. No data is purged.
Y
Purges the person data.
-
Click Submit.
The time this process takes depends on the amount of data to be purged. Don't cancel the process, as its final stages include clean-up operations. If you cancel the process, then the clean-up operations resume when you next run the process.
Run the Send Pending LDAP Requests Process
Purge Person Data in Test Environments generates requests to delete user accounts from your LDAP directory. To process these requests, run the Send Pending LDAP Requests process. If this process isn't scheduled to run in the test environment, then follow these steps when Purge Person Data in Test Environments completes:
-
In the Scheduled Processes work area, click Schedule New Process.
-
In the Schedule New Process dialog box, search for and select the Send Pending LDAP Requests process.
-
In the Process Details dialog box:
-
Set User Type to All.
-
Leave Batch Size set to A, which means that the processing batch size is calculated automatically.
-
-
Click Submit.