1.4.6 commit
Note!
commit
isĀ applicable for batch workflows only.
The commit
function block is executed for each batch when the transaction is successful. In a commit
block, actions that concern transaction safety can be performed. The transaction is referred to by the special TransactionDetails
UDR that contains the transaction id.
The udrRoute
function cannot be used in the commit
block.
Built-in Variables
Variable | Description | Example |
---|---|---|
transaction | This is a read-only variable containing the current transaction. The variable is available in the commit and rollback function blocks. | debug("commit of txn " + transaction.id); |
Next: