Start Transaction
  • 06 Nov 2023
  • 1 Minute to read
  • Dark
    Light

Start Transaction

  • Dark
    Light

Article Summary

Step Details

Introduced in Version4.0.0
Last Modified in Version8.16.0
Modification DetailsFixed the issue where the Transaction Steps were breaking on migration.
LocationDatabase > Transaction

The Start transaction step is used to maintain data that is read or written to the database during an application process. The Start Transaction step gives more flexibility to the user by allowing them to specify the isolation level under the Input properties.






Transaction Steps might not work after migrating the project between v8.15 and lower.

When migrating a project that includes Transaction Steps to an environment with a version of 8.15 or lower, you may encounter errors. However, this issue has been addressed and resolved in version 8.16 and higher. To ensure a successful migration, specific conditions and steps must be followed. For more information, refer to Using Transaction Steps.

Note:
It is important to note that the Start, Commit, and Rollback Steps cannot be utilized independently of each other in a Flow. These three steps must all be used within the same Flow to operate the Transaction or roll back it successfully.

Properties

Inputs

PropertyDescriptionData Type
Isolation LevelIsolationLevel [System.Data]

Read UncommittedLowest isolation level. A transaction may read uncommitted changes made by another transaction because they are not isolated.

Read CommittedLocks are placed on the data being read, but it can be changed before the end of the Transaction, resulting in non-repeatable reads or phantom data.

Repeatable ReadThis holds read locks on all rows it references and writes locks on all rows it inserts, updates, or deletes. This prevents non-repeatable reads.

SerializableA lock is placed on the data to prevent other users from editing it while the Transaction takes place.

ChaosIt behaves the same way as Read Uncommitted but checks the isolation level of other pending transactions during a write to respect more restrictive isolation levels.

SnapshotThis choice uses a version of the data at the start of the Transaction, so you cannot see changes by other transactions happening simultaneously. This choice offers the benefit of reduced blocking. The Snapshot value uses Snapshot Isolation if the ALLOW_SNAPSHOT_ISOLATION ON database option has been set, by a DBA, in the SQL Server database.

UnspecifiedA different, undetermined isolation level is being used.

Outputs

PropertyDescriptionData Type
None------

Related Information

Articles:
Using Transaction Steps


Feature Changes

DescriptionVersionDeveloper Task
Fixed the issue where the Transaction Steps were breaking on migration8.16[DT-039127]

Was this article helpful?