TransactionDelete

The TransactionDelete event notifies the client when a transaction has been deleted from the transaction stack.

Remarks:

The transaction stack contains a list of all transactions that can be undone or redone. Transactions are deleted as the result of three things. First, the transaction stack has a fixed number of transactions it can hold, (which is defined in the registry). When the number of transactions goes over this limit, the transactions at the bottom of the stack are deleted. This means they can no longer be undone. The second reason a transaction is deleted is when a transaction is undone and then another transaction is committed. All transactions in the undone state are deleted and can’t be redone. The third reason is as a result of a document being closed. Whenever a document is closed the entire transaction stack is cleared. All transactions in the stack will be deleted.

EventNames:

  • TransactionDelete_Post

Examples:

TransactionDelete_Post:

Register-InventorEvent -EventName TransactionDelete_Post -Action 'PostTransactionDelete'

function PostTransactionDelete() {
	#Write event code here
}