UiPath Activities

The UiPath Activities Guide

Get Field

UiPath.Java.Activities.GetJavaField

Returns a public field from a specified JavaObject variable or from a public static field inside a class.

Properties

Common

  • DisplayName - The display name of the activity.

Input

  • FieldName - The name of the field that you want to return as a JavaObject variable. This field supports only strings and 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.

Updated about a year ago


Get Field


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.