Replies: 3 comments 7 replies
-
As far as I know YAML doesn't like having |
Beta Was this translation helpful? Give feedback.
-
you can try to write the default object down in YAML notation instead of JSON:
|
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
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?
Beta Was this translation helpful? Give feedback.
All reactions