Create Dictionary
Create Dictionary
Section titled “Create Dictionary”Type: dict-create · Package: Collections Activities v1.0.0 · Output: Dictionary
Creates an empty dictionary (key→value map) and stores it in a variable. Useful for grouping related data under names ("nombre", "nit", "total") or for building configurations.
How it works
Section titled “How it works”Creates an empty dictionary and assigns it to outputVariable. Then you add pairs with Set Dictionary Value.
Parameters
Section titled “Parameters”| Parameter | Editor | Description |
|---|---|---|
outputVariable | nombre de variable | Variable where the dictionary is saved. |
Example
Section titled “Example”Create Dictionary outputVariable = clienteSet Dictionary Value dict = = cliente key = "nombre" value = "Ana"Set Dictionary Value dict = = cliente key = "nit" value = "900123"Related activities
Section titled “Related activities”- Set Dictionary Value — add key-value pairs.
- Create List — create a list.