Skip to content

[Improvement][API] Add null/empty/duplicate validation logic for startParams when manually triggering a workflow #17942

@njnu-seafish

Description

@njnu-seafish

Search before asking

  • I had searched in the issues and found no similar issues.

What happened

when manually triggering a workflow, null/empty validation logic is missing.

Image

The display of parameter variables in this workflow instance will appear strange.

Image

What you expected to happen

Parameter null/empty validation has already been added when saving the workflow definition.
Image

Similarly, Add null/empty validation logic for parameters when manually triggering a workflow.

How to reproduce

When manually triggering a workflow, add empty parameters.

Image

Anything else

No response

Version

dev

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

Labels

backendbugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions