activities
latest
false
UiPath logo, featuring letters U and I in white
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.

Properties

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 only JavaObject 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 form package.name.ClassName. For example, if we have a package called com.package.example which contains the class User.Profile, which we want to use, then the TargetType property should look like com.package.example.User.Profile.
  • 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.