Adapter Development Kit 9.12 | webMethods Adapter Development Kit Documentation | webMethods Adapter Development Kit Installation and User’s Documentation | Integration Server Transaction Support | Built-In Services For Explicit Transactions | pub.art.transaction:setTransactionTimeout
 
pub.art.transaction:setTransactionTimeout
 
Changing the Integration Servers' Transaction Timeout Interval
Enables you to manually set a transaction timeout interval for implicit and explicit transactions. The service overrides the Integration Server's transaction timeout interval. For more information about changing the Integration Server default transaction timeout, see Changing the Integration Servers' Transaction Timeout Interval.
*You must call this service within a flow before the start of any implicit or explicit transactions. Implicit transactions start when you call an adapter service in a flow. Explicit transactions start when you call the pub.art.transaction:startTransaction service.
*If the execution of a transaction takes longer than the transaction timeout interval, all current executions associated with the flow are cancelled and rolled back if necessary.
*The service only overrides the transaction timeout interval for the flow service in which you call it.
Input Parameters
timeoutSeconds
Integer. Number of seconds that the implicit or explicit transaction stays open before the transaction manager aborts it.