activities
latest
false
UiPath logo, featuring letters U and I in white

Developer Activities

Last updated Dec 11, 2024

Convert Java Object

UiPath.Java.Activities.ConvertJavaObject

Converts a JavaObject into a .NET primitive data type. Only primitive .NET types and Arrays of primitive .NET types are supported.
Note: The Java activity package is now compatible with .NET 5 Windows.

Properties

Common
  • DisplayName - The display name of the activity. This field supports only String variables.
Input
  • Java Object - The JavaObject variable that you want to convert to a .NET data type. This field supports only JavaObject variables.
Misc
  • Private - If selected, the values of variables and arguments are no longer logged at Verbose level.
  • TypeArgument - A drop-down menu which lets you select what .NET type you want to turn the JavaObject variable into. By default, Object is selected. Only primitive .NET and Arrays of primitive .NET data types are supported.
Output
  • Result - The converted JavaObject, stored in the variable type specified in the TypeArgument property field.
  • Properties

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.