Replies: 3 comments 3 replies
-
if I try with (with either double or single quotes) this happens: Failed to load target state: failed to generate manifest for source 1 of 1: rpc error: code = Unknown desc = |
Beta Was this translation helpful? Give feedback.
-
Honestly, this looks crazy :D when: ' {{ printf "%s" "{{" }}workflow.status}} != Succeeded ' I'm not sure what the - name: exit-handler
dag:
tasks:
- name: do-something
when: "{{ workflow.status }} == Succeeded"
[...] |
Beta Was this translation helpful? Give feedback.
-
Oh, I might see the problem. The workflow variable apiVersion: argoproj.io/v1alpha1
kind: Workflow
metadata:
name: exit-handlers
spec:
entrypoint: do-something
onExit: exit-handler
[...] |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
full error: Invalid 'when' expression ' != Succeeded ': Cannot transition token types from UNKNOWN [] to COMPARATOR [!=]
i tried when: '{{workflow.status}} != Succeeded'
i tried using double quotes, single quotes, removing the printf etc, nothing works.
Removing the printf results in it not finding "workflow"
Beta Was this translation helpful? Give feedback.
All reactions