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

when doesn't support expression, will it support in the future? #7415

Closed
liujiong1982 opened this issue Dec 15, 2021 · 6 comments
Closed

when doesn't support expression, will it support in the future? #7415

liujiong1982 opened this issue Dec 15, 2021 · 6 comments
Labels
area/templating Templating with `{{...}}` solution/superseded This PR or issue has been superseded by another one (slightly different from a duplicate) type/feature Feature request

Comments

@liujiong1982
Copy link

argo 3.1 supports Expression, see https://argoproj.github.io/argo-workflows/variables/#expression
but when doesn't support it, see below image, will you support it in the near future? It is useful in our cases
image

@liujiong1982 liujiong1982 added the type/feature Feature request label Dec 15, 2021
@crenshaw-dev
Copy link
Member

@liujiong1982 workarounds: 1) see if any of the govaluate comparators fit your use case or 2) calculate a value in a param using expressions and then use that param in the when expression.

@alexec
Copy link
Contributor

alexec commented Dec 15, 2021

I think there is an issues to add a new type of expression syntax for when.

@liujiong1982
Copy link
Author

liujiong1982 commented Dec 16, 2021

is there any plan for this issue to be resolved in 3.3 release?

@alexec
Copy link
Contributor

alexec commented Dec 16, 2021

No. Sorry.

@alexec alexec closed this as completed Feb 7, 2022
@alexec
Copy link
Contributor

alexec commented Feb 7, 2022

When cannot be changed. Instead, we will replace it.

@agilgur5 agilgur5 added the area/templating Templating with `{{...}}` label Sep 21, 2023
@agilgur5
Copy link
Member

Per #7576, when actually did support expr expressions. And #9761 made that better supported (and removed the error message).

Re: whenExpression, see #7831

@agilgur5 agilgur5 added the solution/superseded This PR or issue has been superseded by another one (slightly different from a duplicate) label Sep 5, 2024
@argoproj argoproj locked as resolved and limited conversation to collaborators Sep 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area/templating Templating with `{{...}}` solution/superseded This PR or issue has been superseded by another one (slightly different from a duplicate) type/feature Feature request
Projects
None yet
Development

No branches or pull requests

4 participants