Share this page

# TCA.crossTransactionEnd

Ends a transaction in a Vuser script that has been started in another Vuser script.

    TCA.crossTransactionEnd(name, identifier, status);

## Arguments

Name | Description
--- | ---
name | (string) Name of the transaction.
identifier | (string) Identifier of the transaction. The value of the parameter must be identical to the value of the identifier parameter that the Vuser initiating the transaction used in TCA.crossTransactionStart.
status | One of the following: Pass, Fail, Auto, Abort, or Stop.

## Return value

A promise that will be fulfilled with no arguments.

## Example

Copy code

    TCA.crossTransactionEnd("transactionName", "TransactionId", "Pass").then(function(){
      TCA.done();
    }).catch(function (error) {
      TCA.doneWithError(error);
    });

Tips to improve your search results... VuGen Function Reference Version 26.1-26.3 Function Reference 26.1-26.3 All View Local Help Center View Online Help Center Version: