AddTransactionFlag 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 |
---|---|---|---|
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 syntax used in a SystemManager addon that will add a transaction flag to the ILLiad request with TransactionNumber 1234. The flag that will be added to the request is "Expedite Request."
ExecuteCommand("AddTransactionFlag", { 1234, "Expedite Request" });