UiPath Documentation
activities
latest
false
Workflow activities

AddTransactionItem

Adds a new item in the queue and starts a transaction.

Adds a new item in the queue and starts a transaction. The status of the item is set to InProgress. Returns the item as a QueueItem variable.

Definition​

Namespace: UiPath.Activities.System.API

Assembly: UiPath.System.Activities.Api (in UiPath.System.Activities.Api.dll)

Overloads​

AddTransactionItem(String)Adds a new item in the queue and starts a transaction. The status of the item is set to InProgress. Returns the item as a QueueItem variable.
AddTransactionItem(String, String)Adds a new item in the queue, at a specified folder path, and starts a transaction. The status of the item is set to InProgress. Returns the item as a QueueItem variable.
AddTransactionItem(String, String, String, Dictionary<String,Object>, Int32)Adds a new item in the queue, along with other configurations, and starts a transaction. The status of the item is set to InProgress. Returns the item as a QueueItem variable.

AddTransactionItem(String, String)​

Adds a new item in the queue and starts a transaction. The status of the item is set to InProgress. Returns the item as a QueueItem variable.

QueueItem AddTransactionItem(
    string queueType
)
QueueItem AddTransactionItem(
    string queueType
)

queueType String : The queue where the QueueItem object is to be added. The name is case insensitive, meaning that if in Orchestrator it was defined as "MyFirstQueue", it matches "myfirstqueue".

AddTransactionItem(String, String)​

Adds a new item in the queue, at a specified folder path, and starts a transaction. The status of the item is set to InProgress. Returns the item as a QueueItem variable.

QueueItem AddTransactionItem(
    string queueType,
    string folderPath
)
QueueItem AddTransactionItem(
    string queueType,
    string folderPath
)

queueType String : The queue where the QueueItem object is to be added. The name is case insensitive, meaning that if in Orchestrator it was defined as "MyFirstQueue", it matches "myfirstqueue".

folderPath String : The path of the folder where specified queue is located, if different from the folder where the process is running. This field only supports string values, with / as the separator to indicate subfolders. For example "Finance/Accounts Payable".

AddTransactionItem(String, String, String, Dictionary<String,Object>, Int32)​

Adds a new item in the queue, along with other configurations, and starts a transaction. The status of the item is set to InProgress. Returns the item as a QueueItem variable.

QueueItem AddTransactionItem(
    string queueType,
    string folderPath,
    string reference,
    Dictionary<string, Object> transactionInformation,
    int timeoutMS
)
QueueItem AddTransactionItem(
    string queueType,
    string folderPath,
    string reference,
    Dictionary<string, Object> transactionInformation,
    int timeoutMS
)

queueType String : The queue where the QueueItem object is to be added. The name is case insensitive, meaning that if in Orchestrator it was defined as "MyFirstQueue", it matches "myfirstqueue".

folderPath String : The path of the folder where specified queue is located, if different from the folder where the process is running. This field only supports string values, with / as the separator to indicate subfolders. For example "Finance/Accounts Payable".

reference String : The reference of the added QueueItem.

transactionInformation DictionaryString, Object : A collection of additional information about the specific TransactionItem that is to be added. The information is stored in the item and is used during a transaction processing.The value of string arguments cannot contain the following characters: [ and " ". Argument names cannot contain the following characters: :, ., ,, @, ".

timeoutMS Int32 : Specifies the amount of time (in milliseconds) to wait for the activity to run before an error is thrown. The default value is 30000 milliseconds (30 seconds).

Return value​

QueueItem

The added TransactionItem.

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated