Activities
latest
false
Workflow Activities
Last updated Jul 19, 2024

Change Type

UiPath.Core.Activities.ChangeType

Changes the type of a variable to another type.

Project compatibility

Windows | Windows - Legacy

Configuration

  • Variable to change - Select the variable you want to change the type for.
  • Change to type - Select the new data type to be applied on the variable. The available options are BooleanInt32StringObject, System.Data.DataTable, and Array of \[T\].
  • Save new variable as - Save the variable with a new data type for later use. 
  • Set Format... - Select the format for the value of the newly created variable. This option is available only when the Change to type field has the int32 type. Click Set Format... to open the Configure Format window.

In the Properties Panel

Options
  • DisplayName - The display name of the activity.
  • Variable to change - The variable for which you want to change the type.
  • Private - If selected, the values of variables and arguments are no longer logged at Verbose level.
  • TypeArgument - The new type that the variable should be changed to.
  • Format - The format of the new variable used in parsing/string formatting. The available options are Number and DateTime
Output
  • Save new variable as - Save a new variable with the selected type.
  • Project compatibility
  • Configuration
  • In the Properties Panel

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.