Workflow Actions
Lookup Value by Key
JSON
Business
Description
Lookup a value in a JSON dictionary.
Instructions
- If you have not done so, follow the instructions to Create an Incident Workflow.
- When the instructions prompt you to add actions, select this action.
- Enter the following Inputs and click Save.
- Continue following instructions to Publish the Workflow.
- When the action runs, you will see the Outputs listed below.
Inputs
Field References
Fields with the {+} icon accept Field References, which can be useful for referencing incident data or outputs created in prior workflow steps. To add Field References, click {+}, or enter {{, and select relevant fields. Refer to the Field References article for more information.
| Name | Description |
|---|---|
| Key to Lookup | Enter the key to look up in the JSON dictionary. |
| JSON Dictionary | Enter the JSON dictionary containing the values to look up, for example, {"key1":"value1","key2":"value2"}. |
Outputs
| Name | Description |
|---|---|
| Was the Key to Lookup Found | Whether or not the lookup value was found in the dictionary of values. |
| Lookup Result | The value associated with the lookup value in the dictionary. |
| Result | Value that shows if the action was successful or not. Either "Success" or "Failed". |
| Result Summary | Brief description of what the action did or if it failed. |
| Error | Brief description that is populated if the action failed. |