You are here:
Multi-Site Delete API
Deletes the Contract and child records to the Contract and related record. The API uses configurable Integration Procedures and Omnistudio Data Mappers in an asynchronous call for the processing of a large amount of data.
Integration Procedure Name: clm/asyncDeleteContracts
The API takes a parameter as a JSON string into an Integration Procedure and deletes records using Integration Procedures and Data Mappers. Deleting of children records is done by using Batch Actions to start batch Apex Jobs which call Integration Procedures with more Data Mappers. Deletions start with the child objects (line items), then the subcontracts, and finally the top-level master contract.
The following table describes the key steps in the Integration Procedure:
Step Name | Step Type | Interface Name | Notes |
|---|---|---|---|
DeleteAllContractLineItems |
Batch Action |
DeleteAllContractLineItems |
You can configure this Integration Procedure: From Vlocity Scheduled Jobs, edit the DeleteAllContractLineItems job, which calls the clm_DeleteAllContractLineItems Integration Procedure. After the Batch Action completes, this Integration Procedure calls the clm_DeleteAllContracts Integration Procedure to delete all contracts. |

