activities
latest
false
- Overview
- Cryptography
- Database
- Java
- Python
- WebAPI
Get Field
Developer Activities
Last updated Nov 26, 2024
Get Field
UiPath.Java.Activities.GetJavaField
Returns a public field from a specified
JavaObject
variable or from a public static field inside a class.
Note: The Java activity package is now compatible with .NET 5 Windows.
Common
- DisplayName - The display name of the activity. This field supports only
String
variables.
Input
- FieldName - The name of the field that you want to return as a
JavaObject
variable. This field supports only String variables.
Misc
- Private - If selected, the values of variables and arguments are no longer logged at Verbose level.
Output
- Result - The Java field, stored in a
JavaObject
variable.
Target
- TargetObject - The
JavaObject
which contains the field you want to retrieve. This field supports onlyJavaObject
variables. Setting a variable in this field disables the TargetType property field. -
TargetType - The name of the Java class which contains the field you want to retrieve. This field supports only strings and String variables. Setting a variable in this field disables the TargetObject property field.
Note: The TargetType property must be specified in the formpackage.name.ClassName
. For example, if we have a package calledcom.package.example
which contains the classUser.Profile
, which we want to use, then the TargetType property should look likecom.package.example.User.Profile
.