Replies: 3 comments 7 replies
|
As far as I know YAML doesn't like having |
3 replies
|
you can try to write the default object down in YAML notation instead of JSON: |
2 replies
|
Bug in GUI when setting param type to object. Default values are not showing up in GUI. When using string type, it´s working as expected. |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
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. This is not working and when clicking on run in GUI, the command field is always empty and does not show the default value. Beside this, the WF is failing. I tried to set the obejct as { "command": "Shutdown" }, { "command": "Shutdown" }, "command": "Shutdown", command=Shutdown but nothing works. What is the correct notation when using objects as parameter types?
All reactions