If you already extracted metadata from child objects that have circular relationships, but you want to use automatic entity generation, complete the following steps:
In the
Canvas
pane, select the related tables that you want in the entity and change their type on the
General Information
tab. For example, change all of the related tables to the "Configurational" or "Temporary" type.
When you run the multiple entity generation wizard, create the entity using the same type of table that you configured above.
Salesforce has cascade delete functionality. When you create the entity, make sure the entity includes both parent and child tables if the child tables have cascade delete set to true. Otherwise, in the Delete from Source step of the purge job or archive and purge job, Salesforce deletes the child records automatically while deleting the parent records.
When you select the
Include Salesforce Archived Records
check box in the source connection, the driver gets the records that are archived by Salesforce in addition to the soft-deleted records. If you use the same connection to archive data from any custom entities, it is your responsibility to filter out the soft-deleted records by appending "IsDeleted=false" in the entity's select, insert and delete query.