Destroy Contact for Personal Data work queue

Code

DestroyContactForPersonalData

Categories

Schedulable

Implementation

Work queue

Schedule

Not scheduled

Class

PersonalDataContactDestructionWorkQueue.gs

This work queue finds all PersonalDataContactDestructionRequest objects that have a status set to New or ReRun (category ReadyToAttemptDestruction). How far the destruction process went for the found contacts is determined by the ContactDestructionStatus returned from the Destroyer, the class that implements the PersonalDataDestroyer interface.

The contact destruction status is set to the returned status. If the status is Completed, Partial, or NotDestroyed (category DestructionStatusFinished), the date of completion is also populated.

An exception is thrown if return status is New or if you try to change the status from a typecode in the DestructionStatusFinished category.

By default, Guidewire does not provide an entry for this work queue in file scheduler-config.xml in the base configuration. To schedule this work queue, add an entry for it to scheduler-config.xml.

See also