Delete Pseudo Records

This job cleans the pseudo records (accounts and orders) created and used internally by the Digital Commerce APIs.

Available in

Winter '20 and later.

Apex Name

DELETE PSEUDO RECORDS

Where to Run This Job

Cacheable API Jobs link on the CMT Administration tab.

Risks of Running This Job

There are no risks to running this job even if accounts and orders are removed.

When to Run This Job

When you need to delete all existing pseudo records created before a specified time. You can also run this job at any time.

More Information

As part of the Vlocity Cacheable API solution, when the Create Basket API is called for an anonymous user, a pseudo-Salesforce Account record is created with a random Account Name (for example, OuL48cVU4r) with a Billing Record Type. The creation of these accounts may cause maintenance issues for clients who create and run reports against the Salesforce Account object records and therefore needing to identify the Accounts we create as part of our Cacheable API solution.

Starting with the CME Winter '20 release, pseudo-accounts and pseudo-orders are deleted automatically. To delete pseudo records created prior to the CME Winter '20 release, you can run the Delete Pseudo Records cacheable API job. Note that the Delete Pseudo Records job would only need to be run one time.