Use the GetProperty component

  • Release version: Australia
  • Updated March 12, 2026
  • 1 minute to read
  • Get the value of a property from a JSON object by using the GetProperty component in the RPA Desktop Design Studio.

    Before you begin

    Role required: none

    About this task

    To configure the properties for the GetProperty component, see Properties of the JSON utilities.

    Procedure

    1. In the Toolbox pane, navigate to General and drag the Variable component to the Design surface.
    2. Double-click the variable and enter a code as a variable.
      For example,
      {
        "name": "Abel Tutor",
        "age": 30,
        "email": "abletutor@example.com",
      }
      
    3. In the Toolbox pane, navigate to Utilities > JSON.
    4. Drag the DeserializeObject component to the Design surface to convert a string containing JSON data to a JSON object.
    5. In the Toolbox pane, navigate to Utilities > JSON.
    6. Drag the GetProperty component to the Design surface.
    7. To configure the input fields, see Configure port properties.
    8. Optional: Connect the ports as described in the following table.
      Port type Port name Data type Description
      Data In JsonObject Object The JSON object from which to extract a property value.
      Data In PropertyName String The name of the property whose value is to be retrieved.

      For example, name.

      Data Out Return Object Returns the value of the property.

      If no property value is found, the port return an error.

    9. Optional: To test the component, right-click the component bar and click Run From Here.
      The name is displayed as Abel Tutor when you right-click the GetProperty Data Out port.
      Figure 1. GetProperty component Automation Example
      GetProperty component Automation Example.