The PayloadPurgeJob is run automatically to clear orphan payload.

Orphan payload is retained in the system for a specific time before they are purged. This is the time-to-live period. The default value for the time-to-live period is 24 hours.

You can configure the time-to-live period by modifying the properties for the PayloadPurgeTrigger in the Cassandra database.

Configure the following property to define the time-to-live period:

USE scheduler;
update trigger set criteria_map={'PAYLOAD_PURGE_WAIT_TIME_IN_HOURS':'12'} where name = 'PayloadPurgeTrigger';