Sets a value within the dictionary

Last published at: May 2nd, 2023

Description:

Sets the value for a given dictionary key

Inputs

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

Returns

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

Usage:

Example:

Let’s build and execute the setDictionaryValueDef example.          

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

  • Click on the “setDictionaryValue” 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 set value to dictionary.