Guidelines for Deleting Worker Components

You can delete some components of the Worker object but not the entire worker. For information about deletion support for individual Worker components, see the component details on the View Business Objects page.

This topic provides additional information about deleting some of the Worker components using HCM Data Loader.

This table provides information about the circumstances in which you can delete some components of the Worker object.

Component

Deletion Supported

Notes

Assignment Grade Steps

Yes

If you set the GradeId attribute of an assignment to #NULL, then any associated Assignment Grade Steps component is deleted automatically. Therefore, if you include a DELETE instruction for the Assignment Grade Steps component in the same .dat file as the assignment, an error occurs.

Person Address

Yes

Subject to country-specific regulations, you can delete any address. When multiple mailing addresses exist, you must delete all nonprimary mailing addresses before you can delete the primary mailing address. Alternatively, identify a new primary mailing address before you delete the current primary mailing address.

Person Email

Yes

When only one email exists, you can delete it. When multiple emails exist, you must delete all nonprimary emails before you can delete the primary email. Alternatively, identify a new primary email before you delete the current primary email.

Person Legislative Data

Yes

One legislative data record must exist for a worker. You can't delete the only record. You can delete additional records.

Person Phone

Yes

When only one phone exists, you can delete it. When multiple phones exist, you must delete all nonprimary phones before you can delete the primary phone. Alternatively, identify a new primary phone before you delete the current primary phone.

User Information

No

The User Information component is available only when you create workers. This component isn't available when you update workers.

Person User Manual Roles

No

The Person User Manual Roles component is available only when you create workers. This component isn't available when you update workers.

To remove a single role from a worker, you use the User object rather than the Worker object. To remove multiple roles from a worker, you use the User Role component of the User object.

Work Relationship

Yes

When deleting a work relationship, you must include the CancelWorkRelationshipFlag attribute with a value of Y.