Adapter for SAP 10.1 | webMethods Adapter for SAP Documentation | webMethods Adapter for SAP Installation and User’s Guide Documentation | Transaction Handling | Automatic Cleanup of the Transaction Stores
 
Automatic Cleanup of the Transaction Stores
 
Example
As the size of the transaction store increases, you should consider creating a flow service that periodically purges the store of transactions that are no longer needed.
*To clean up a local Transaction Store, configure the flow service on each adapter.
*To clean up a Centralized Transaction Store or a Shared Transaction Store, configure the flow service on only one of the adapters for SAP in the adapter group. For best performance this should be Adapter for SAP that is the CTS server.
*To purge certain transactions from the transaction store periodically
1. In Digital Event Services, create a flow service that invokes the pub.sap.transaction:sweep service.
2. Pass the following parameters to the sweep service using the Set Value modifier in the pipeline.
For this parameter…
Specify…
state
The transaction state.
elapsedTime
The number of minutes that the transaction has been in status state.
maxTrxCount
The maximum number of transactions to delete each time that pub.sap.transaction:sweep runs.
For information about the sweep service, see pub.sap.transaction:sweep.
3. In the IS Administrator UI go to Server > Scheduler and schedule this flow service to run periodically.