Skip to main content

Get dictionary values

Sophie avatar
Written by Sophie
Updated over a week ago

Definition and Usage

Retrieve all key values in the dictionary and store the values in a list. This command extracts only the values (not the keys) from a dictionary object and places them into a new list variable for further processing.


Parameter Values

Input parameters

Parameter

Description

Possible Values

Required

Options / Notes

Dictionary

Select or enter the dictionary variable from which you want to get the values

Any dictionary variable

Yes

The input must be a valid dictionary object

Error handling

Parameter Name

Description

Throw error & stop

When an error occurs, the action will trigger an error and stop the execution of the entire app.

Retry command

If an error occurs, the action will retry the command in an attempt to resolve the issue and continue the process.

Ignore error & continue

When an error occurs, the action will be ignored, and the workflow will continue without interruption.

Variables produced

This action produces a list variable containing all values from the specified dictionary. The output variable will contain only the values, without their associated keys.


Using Variables in Conditions

You can use the {x} notation to insert variables into parameter fields. This allows you to dynamically select which dictionary to process based on previous steps in your workflow. Similarly, you can use variables to dynamically name the output variable where values will be stored.


Notes

  • The order of values in the resulting list is not guaranteed to match the order of insertion into the dictionary.

  • If the dictionary is empty, this command will produce an empty list.

  • This command only extracts values; if you need the keys, use the "Get dictionary keys" command instead.

  • If you need both keys and values, consider using dictionary iteration methods.

Did this answer your question?