Certain parameter types support configuring additional constraints that restrict what a user is allowed to enter.
date & time,
Select options (aka "dropdowns" or "enums") allow you to specify exactly which values are allowed for a given parameter.
For example, you can specify a
short text"Environment" parameter with
developmentas two options.
You can optionally add a label to each option. Labels are shown to the user instead of the value. This is helpful if you want to show the user one thing (e.g. a customer name) but pass a different value to your task (e.g. a customer ID).
If you are creating parameters for a form block, you can also dynamically generate a list of options from a previous block's output by using a JS template. For more information, refer to the form blocks page.
Regular expressions allow you to more dynamically control what values are permitted. For most string values, regular expressions will match against the value itself. For config variables, regular expressions will match against the name of the config variable (not the value).
Expressions must match the entire value. For example, an expression of
Example constraint settings for a parameter.