Subscribe

UiPath Activities

The UiPath Activities Guide

Set Transaction Status

UiPath.Core.Activities.SetTransactionStatus

Sets the status of an Orchestrator transaction item to Failed or Successful. An example of how you can use this activity is available here.

Properties

Common

  • ContinueOnError - Specifies to continue executing the remaining activities even if the current activity failed. This field only supports Boolean values (True, False). The default value is False.
  • DisplayName - The display name of the activity.
  • Timeout (milliseconds) - 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).

Input

  • Analytics - A collection of analytics information about the specific TransactionItem whose status is to be updated.
  • Output - A collection of additional information about the specific TransactionItem whose status is to be updated.
  • Status - The status that is to be set to the TransactionItem.
  • TransactionItem - The TransactionItem whose status is to be updated.

Misc

  • Orchestrator Folder Path - The path of the folder where the TransactionItem 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".

📘

Note:

The FolderPath parameter does not work for processes executed by robots in classic folders. Only robots in modern folders have the ability to pass data outside of their folder.

Relative folder paths are supported in an X-UIPATH-FolderPath-Encoded header, as follows:
Path starting with / - starts from the root folder of the tree the ambient folder is part of.
Path starting with . - starts from the ambient folder.
Path starting with .. - starts one level up in the hierarchy of the ambient folder for each .. in the path (e.g. ../ for one level up, ../../ for two levels up in the hierarchy).

Note that trailing slashes are not accepted.

  • Private - If selected, the values of variables and arguments are no longer logged at Verbose level.

Transaction Error

  • Details - Details regarding the failed Transaction. This field supports only strings and String variables. You can place any log information or other details about the failure.
  • ErrorType - The error type that the failed Transaction has thrown. Application - a technical issue (e.g. a file that cannot be found), this type of error will retry the transaction according to the settings in Orchestrator, Business - an error regarding an external factor (e.g. an invoice that could not be paid). For more information on this choice, see the Business Exception vs Application Exception article.
  • Reason - The reason for which the Transaction failed. This field supports only strings and String variables. You can place any short reason here (e.g. does not contain the letter F).

Updated about a year ago


Set Transaction Status


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.