activities
latest
false
- Overview
 - Cryptography
 - Database
 - Java
 - Python
 - WebAPI
 

Developer Activities
Last updated Oct 23, 2025
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 
Stringvariables. 
Input
- FieldName - The name of the field that you want to return as a 
JavaObjectvariable. 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 
JavaObjectvariable. 
Target
- TargetObject - The 
JavaObjectwhich contains the field you want to retrieve. This field supports onlyJavaObjectvariables. 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.examplewhich contains the classUser.Profile, which we want to use, then the TargetType property should look likecom.package.example.User.Profile.