You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have tested with the :latest image tag (i.e. quay.io/argoproj/workflow-controller:latest) and can confirm the issue still exists on :latest. If not, I have explained why, in detail, in my description below.
I have searched existing issues and could not find a match for this bug
Hey team, We need some help with weird issue.
We have a workflow with a nested DAG. The purpose of this DAG is to act as a sensor that collects artifacts from our S3 bucket (a JSON file). Based on one of the fields, we decide the next steps inside our "when" field inside our yaml.
We process a high volume of workflows (more than 19K) per day and every few days (without a consistent pattern), the step that tries to evaluate the JSON fails with the following error:
Invalid 'when' expression ''TriggerDBK' == {{=jsonpath(tasks['collectArtifact'].outputs.parameters.MonitorDBK, '$.nextStep')}}': Invalid token: '{{=' (hint: try wrapping the affected expression in quotes (")) we can see 3-4 workflows failed in the same time.
Upon checking the output of our json, we see that everything is in place, both in the S3 bucket and in the Argo UI. The controller logs do not show anything unusual, it just happens without any clear direction as to why.
Can you suggest any methods to debug this issue and understand what might be causing it?
Pre-requisites
:latest
image tag (i.e.quay.io/argoproj/workflow-controller:latest
) and can confirm the issue still exists on:latest
. If not, I have explained why, in detail, in my description below.What happened? What did you expect to happen?
Hey team, We need some help with weird issue.
We have a workflow with a nested DAG. The purpose of this DAG is to act as a sensor that collects artifacts from our S3 bucket (a JSON file). Based on one of the fields, we decide the next steps inside our "when" field inside our yaml.
We process a high volume of workflows (more than 19K) per day and every few days (without a consistent pattern), the step that tries to evaluate the JSON fails with the following error:
Invalid 'when' expression
''TriggerDBK' == {{=jsonpath(tasks['collectArtifact'].outputs.parameters.MonitorDBK, '$.nextStep')}}': Invalid token: '{{=' (hint: try wrapping the affected expression in quotes ("))
we can see 3-4 workflows failed in the same time.Upon checking the output of our json, we see that everything is in place, both in the S3 bucket and in the Argo UI. The controller logs do not show anything unusual, it just happens without any clear direction as to why.
Can you suggest any methods to debug this issue and understand what might be causing it?
Artifact collected:

Expression evaluation faled:
Version(s)
V3.4.16
Paste a minimal workflow that reproduces the issue. We must be able to run the workflow; don't enter a workflow that uses private images.
Logs from the workflow controller
Logs from in your workflow's wait container
The text was updated successfully, but these errors were encountered: