Skip to main content

Create Dictionary

The CreateDictionary component in Robbot RPA allows you to create a dictionary object with key-value pairs. A dictionary is a data structure that stores data in the form of key-value pairs, where each key is unique. This component provides a convenient way to initialize and populate a dictionary with the specified key-value pairs.

Parameters

Dictionary String : Insert the string representation of the dictionary. This parameter expects a string in a specific format to define key-value pairs. Type : String.\ Result : Returns the created dictionary. This output parameter will contain a dictionary object with key-value pairs. Type: Dictionary<String, String>.

Usage

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

Drag and drop the CreateDictionary component into your sequence or workflow.

Configure the component by providing the necessary input:

Enter the string representation of the dictionary in the "Dictionary String" parameter. The string should follow a specific format to define key-value pairs, such as "key1=value1;key2=value2;key3=value3".

The component will parse the string and create a dictionary with the specified key-value pairs.

The resulting dictionary will be stored in the "Result" output parameter, which has a type of Dictionary<String, String>.

Continue building your sequence or workflow by using the created dictionary in subsequent components or actions that require dictionary data.

By utilizing the CreateDictionary component in your Robbot RPA automation, you can easily create and initialize dictionaries for efficient data storage and retrieval.