Get a value from the dictionary

Last published at: May 2nd, 2023

Description:

Gets a stored value from a dictionary

Inputs

  • dictionaryVariable – variable to store the dictionary
  • dictionaryKey – name of the key
  • variableToStore – variable to store the value 

Returns

  • True – step executed successfully
  • False – step failed to execute 

Usage:

Example:

Let’s build and execute the getDictionaryValueDef example.          

  • Create a new definition called “getDictionaryValueDef
  • Select the definition and click the “design” button
  • Drag a getDictionaryValue step from the toolbox
  • Connect the dots between the start and getDictionaryValue step
  • Drag a getDictionaryValue step to the canvas
  • Connect the dots between the setDictionaryValue and getDictionaryValue step 

  • Click on the “setDictionaryValue” step to configure its properties
  • Configure the following values for the properties as shown on the below graphic 
  • Click on the “getDictionaryValue” step to configure its properties
  • Configure the following values for the properties as shown on the below graphic 
  • Save the workflow definition, create a workflow instance and execute. Step should get stored value from dictionary and store the result into output variable or global.