Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

Use the SetProperties component

Set multiple properties within a JSON object by using the SetProperties component in the RPA Desktop Design Studio. You can also override a property within the JSON object.

Before you begin

Role required: none

About this task

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

Procedure

  1. In the Toolbox pane, navigate to Utilities > JSON.

  2. Drag the SetProperties component to the Design surface.

  3. Click the component settings icon (

Image omitted: component-settings-icon.png
Component settings icon.\).
  1. Click the add property icon (
Image omitted: add-image-icon.png
Add property icon.\).
  1. Enter the property name.

  2. Repeat the steps to add more property names.

  3. Click OK.

  4. To provide the values for the property names, see Configure port properties.

  5. Connect the data and control ports of the SetProperties component to the corresponding ports of the other components as described in the following table.

Port typePort nameData typeDescription
Data InJsonObjectObjectThe JSON object in which the properties are to be set.The properties that you set in this component are added to the JSON object.
Data InOverrideBooleanIndicates whether to override properties, if they already exist. If True, the component overrides an existing property in the JSON object with the property that you specify. Else, if False, it doesn't override any property.
Data InName of the port is the same as the name of the property that you added in the component settings.ObjectTakes the value of the property name.
Data OutReturnObjectReturns a JSON object with updated or new values for multiple properties.
  1. To test the component, right-click the component bar and then click Run From Here.

Parent Topic:JSON