AddTransactionFlagCommand

AddTransactionFlagCommand

The server addon command adds a flag to a request. A CustomFlag with the specified flag name must already exist when used in the addon. If a corresponding flag is not found, it will not be added to the request. Flags that are defined internally by the system cannot be added.

AddTransactionFlag Parameters

Name

Direction

Type

Description

Name

Direction

Type

Description

TransactionNumber

 

int

The transaction number to add the flag to.

FlagName

 

string

The name of the flag to be added to the request.

Example

The following is an example of the AddTransactionFlag command that will add a flag of “Flag #1” to the Transaction 1023.

ExecuteCommand("AddTransactionFlag", { 1023, "Flag #1" });