Skip to content

Get Value by Key

Function Description

TIP

This command is used to get the value corresponding to a specified key name in a dictionary

Configuration Item Description

General

Command Input

  • DictionaryTRPADictionary: Enter the dictionary variable

  • Key Namestring: Enter the key name

  • When Key Does Not ExistInteger: Choose how to handle when the input key does not exist

  • Default Valuestring: Enter default key value

Command Output

  • Save Value Tostring: Specify a variable to save the found key value

Error Handling

  • Print Error LogsBoolean: Whether to print error logs to the "Logs" panel when the command fails. Default is checked.

  • Handling MethodInteger:

    • Terminate Process: If the command fails, terminate the process.

    • Ignore Exception and Continue Execution: If the command fails, ignore the exception and continue the process.

    • Retry This Command: If the command fails, retry the command a specified number of times with a specified interval between retries.

Usage Example

Process logic description:

Common Errors and Handling

None

Frequently Asked Questions

None