Skip to content

Bug: Workflow parameter type object and defaults #1037

@Lieferer

Description

@Lieferer

Hi,

I´m struggeling with input parameters for a workflow. I set a parameter as object with a default value:

command:
type: object
required: true
default: { "command": "Shutdown" }

It is a JSON command that has been provided when running the workflow. When clicking on run in the GUI, the command field is always empty and does not show the default value.

As parameters with object types always show {} as 'internal' default when using the GUI, only deleting the {} while executing the action will reveal the default that is set in the parameter. Fixing the default {} will probable fix the whole issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions