sweepTransactions

The service can be used to clean up the transaction store that matches the filter criteria.

For example, set it up in the scheduler as follows:
  • Create a flow service, which starts sweepTransactions.
  • In the flow service, define the inputs by using Set Value.
  • Create a scheduler job that runs the flow service.
Input parameters
elapsedTime
Time in minutes since the transaction was last modified.
maxTrxCount
Optional. Maximum number of transactions to be deleted in one execution of the Service.
sender
Optional. The name of the sender of the transaction.
receiver
Optional. The name of the receiver of the transaction.
msgType
Optional. The name of the message type of the transaction.
state
Optional. The state of the transaction.
  • Created
  • Executed
  • Committed
  • Rolledback
  • Confirmed
Return values
deletedEntries
Total number of deleted transactions that matched the filter criteria.