Show TOC

Function documentationTransaction Call Locate this document in the navigation structure

 

You use this action to execute a previously defined transaction in the current transaction. You add this action to a sequence and the inputs and outputs act as the properties to the selected transaction. The action allows you to create reusable components, which can be used in other transactions.

Features

The properties for this action are listed in the following table:

Property

Data Type

Access

Use

Transaction Inputs

Defined in transaction properties

In and out

Transaction property names configured for the transaction.

Transaction Outputs

Defined in transaction properties

Out

Configure output property names for the transaction. If an XML data type output property is configured for the transaction with a default property value or an assigned reference document, the system exposes the XPath structure in the Link Editor screen (default value takes precedence).

ResetState

On the Transaction Call Configuration screen, the checkbox label is Reload Transaction After Execution.

Boolean

In

If this value is true, the system sets the transaction property values back to their default state each time this action is executed. Otherwise, local and transaction properties and actions in the transaction maintain their values between each execution. For example, if you call a loop and set a break in a subtransaction, the break remains set if you do not set this value to true.

Success

Boolean

In and out

Indicates whether the action succeeded or failed. If it failed, errors are displayed in the server trace log.

LastErrorMessage

String

Out

Accessible for debugging and error handling and contains the response message from the configured Transaction Call action. If the system encounters a Terminate Transaction action in the configured transaction, the configured termination message is returned to this property.

Activities

You can do the following:

  • In the Link Editor screen, if the transaction being called has defined properties, you can map inputs and outputs to and from this action.

  • In the Transaction Call Configuration screen, you can search for a transaction.

  • If you are calling another transaction from within a loop and want it to remember its property states from each call, do not select the Reload Transaction After Executioncheckbox. If you want to reset all property values to their default state each time the transaction is called, select this checkbox.

    Note Note

    If you are running a transaction that was created in version 12.0 and you selected the Reload Transaction After Executioncheckbox, input transaction properties that are not linked use the value from the last transaction execution. If you are running a transaction that was created in version 12.1 or later, these properties use the default values.

    End of the note.

See also:

Dynamic Transaction Call