Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Advanced task argument default values, optional values, and custom range support #3477

Open
shreddedbacon opened this issue Jul 3, 2023 · 0 comments

Comments

@shreddedbacon
Copy link
Member

I'd like to see advanced task arguments improvements to support additional use cases

  1. There is no way to define an argument as optional, in the UI I have to populate all fields to be able to trigger the task. If a field is marked as optional, it could skip it.
  2. There is no way to define a default value, or values for an argument.
  3. STRING_RANGE, and then an input of stringRange: [string] so you could craft your own drop down of predefined options (could do NUMERIC_RANGE too?)
{
	name: "MY_OPTIONAL_VALUE"
	displayName: "Just a value that is optional"
	type: STRING
	optional: true
},
{
	name: "MY_VALUE"
	displayName: "Just a value"
	type: STRING
	default: "value"
},
{
	name: "MY_RANGE_VALUE"
	displayName: "Just a value from a range"
	type: STRING_RANGE
	stringRange: ["value1", "value2"]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant