Skip to main content

Add JObject

The Add JObject component in Robbot RPA allows you to add an item, such as a property or a value, to an existing JObject. This can be useful when you need to dynamically update or modify a JObject during runtime.

Parameters

JObject: This parameter expects a JObject variable where you want to add the item. Provide the JObject to which you want to add the item. Type : JObject.

item : This parameter allows you to insert the text or Dictionary that you want to add to the JObject. Provide the item that you want to add. Type : Object.

Result : This parameter returns the updated JObject after adding the item. The Result output can be used for further processing or to store the updated JObject in a variable. Type: JObject.

Usage

To use the Add JObject component in your Robbot RPA project, follow these steps:

Open your Robbot RPA project.

Drag and drop the Add JObject component into your sequence or workflow.

Configure the component by providing the necessary input:

Set the JObject parameter by providing the JObject variable to which you want to add the item.

Provide the item that you want to add to the JObject. This can be a text or a Dictionary.

Continue building your sequence or workflow by adding other components or actions that depend on the updated JObject.

Access the updated JObject by referencing the Result output parameter of the Add JObject component.

Execute your sequence or workflow to add the item to the JObject.

By utilizing the Add JObject component, you can easily add items to a JObject, enabling you to dynamically update or modify JObject structures within your Robbot RPA project.