webMethods Adapter Runtime 10.3 | webMethods Adapter Runtime Documentation | Adapters RunTime Users Documentation | Transaction Management | Built-In Services for Transaction Management | pub.art.transaction:setTransactionTimeout
 
pub.art.transaction:setTransactionTimeout
Manually sets a transaction timeout interval for implicit and explicit transactions.
Input Parameters
timeoutSeconds
Integer The number of seconds that the implicit or explicit transaction stays open before the transaction manager marks it for rollback.
Output Parameters
None.
Usage Notes
This service is available only if your adapter supports built-in transaction management services, which you can confirm by checking the user guide for the adapter.
When you use this service, you are temporarily overriding the Integration Server 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 transacted operations are rolled back.
This service only overrides the transaction timeout interval for the flow service in which you call it.