Transaction

Determines whether a transaction group is created for the DBMS I/O associated with this component instance and all instances started from it. Valid values are True or False.

newinstance"FormName", "InstanceName","transaction=true | False""

Value Description
True A transaction group is created for the DBMS I/O associated with this component instance and all instances started from it. For each path referenced by a component instance in this group, either explicitly (for example, with) or implicitly (for example, by retrieving an entity on a new path), a new path to the DBMS is opened.
False No transaction group is created.

Description

You can set the transaction property when creating a new component instance.

Some databases do not support multiple transactions per path. Refer to the DBMS connector documentation for your database to check whether this is supported. For more information, see Database Connectors.

A form started with the run statement cannot create a DBMS transaction.

For example, you can activate a component with parallel transaction processing by using the transaction=true property. When the end-user enters an order and finds that the customer needs to be added to the customer database, the Customer form can be used to enter and store customer details, after which work can continue in the Order form. Two transactions are now taking place in parallel and they can be separately committed or rolled back.

Applies To

Component

Related Topics