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
Stringvariables.
Input
- Java Object - The
JavaObjectvariable that you want to convert to a .NET data type. This field supports onlyJavaObjectvariables.
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
JavaObjectvariable into. By default,Objectis selected. Only primitive .NET andArraysof primitive .NET data types are supported.
Output
- Result - The converted
JavaObject, stored in the variable type specified in the TypeArgument property field.