Purging or Cleanup Guidelines

Order Management System

Order Management System is provided with a purge functionality that can be used to clean up data about orders, which are in a complete state or incomplete state. The purge script can be used to purge completed order data when "enablePurgeCompleteOrder=true" flag is enabled. By using withdraw order, you can purge a non complete order and also run the script when the system is processing new orders, thus avoiding the need for an outage.

However, purging completely deletes the data about orders and associated objects such as plans, plan items, and User Defined Fields.

Ensure that the business requirements around logging and analyzed.

Orchestrator

This component can be configured to self-clean when an order reaches an end-state. Use this feature to avoid having to clean up Orchestrator. Order Management System must be seen as the record for orders and plans, and the backing stores for Orchestrator must just be for dealing with data about orders that are in-flight.