You are viewing the docs for v1.3, which is not the latest release.
View latest

Replace BOOLEAN-Type Inputs with the New BOOL Toggle

For the complete documentation index, see llms.txt. For a full content snapshot, see llms-full.txt. Append .md to any kestra.io/docs/* URL for plain Markdown.

The BOOLEAN-type input is deprecated in favor of BOOL

The Java-style BOOLEAN input, which used three options (true, false, or not defined) caused too much confusion and bugs, so it's now deprecated in favor of the BOOL input which is a toggle (can only be true or false). Read more in the GitHub issue: #8225.

The following example inputs demonstrate the difference:

yamlinputs:
  - id: boolean
    type: BOOLEAN # Deprecated as of version 0.23.0
    defaults: true
    displayName: "A boolean input"

  - id: bool
    type: BOOL # Included in version 0.23.0 and later
    defaults: true
    displayName: "A boolean input displayed as a toggle."