Skip to main content
Version: Next

Check Parameter

Get the parameter and check if its value is not null or undefined.

Description

Gets the value of a system parameter given its name. This is typically used with environment-specific parameters such as API endpoints, API keys, etc.

In a Service App, this is read from the configuration file.

In a UI App, this can come either from the configuration file, or from the URL (e.g. &my_parameter=my_value).

For example, the parameter sc.app contains the application identifier.

Inputs

  • name (String): The name of the parameter to check.
  • Control Flow (Control Flow): Triggers the execution of the brick

Outputs

  • Param exists (Control Flow): Triggered if the parameter exists and its value is truly.
  • No param (Control Flow): Triggered if the parameter does not exist or its value is null or undefined.
  • param value (Object): The actual contents of the param