Salesforce

Close Transaction (Magic xpa 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

Close Transaction (Magic xpa 3.x)

A transaction is closed in the task where it was opened.

An exception is when a task opens a transaction where there are child programs of the same transaction. When the child programs remain open when the transaction is closed with the calling program, they will be left without a transaction.

The child programs must be part of a transaction. The first called child program will manage the transaction and all of the child programs in the transaction. The management of the transaction moves down the event tree when a parent task is closed. The transaction hierarchy is determined by the order of open tasks. When a transaction is closed and there are still open tasks within that transaction, another transaction is opened immediately and is managed by the first child task.

When the management of the transaction is moved to a new task, the new transaction is always opened in the task level regardless of the values defined in the properties of the task.

Reference
Attachment 
Attachment