argo-workflows
argo-workflows copied to clipboard
when: condition on outputs.artifact is false
when: "'{{steps.parse-messages-split.outputs.artifacts.dag-name}}' == snow"
this never gets matched
but
when: "{{steps.parse-messages-split.outputs.result}} == snow"
does get matched (even though the value in the artifact and echoed in the step result are same.
argowf version 3.2.9
could you add the smallest possible workflow to reproduce the bug?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If this is a mentoring request, please provide an update here. Thank you for your contributions.
@tooptoop4 you can't reference the Artifacts content in when condition. The workflow controller doesn't have permission to access the artifact content. There is a workaround you can add one more step in between to stdout the artifact content and reference intermediate steps.output.result
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If this is a mentoring request, please provide an update here. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If this is a mentoring request, please provide an update here. Thank you for your contributions.
This issue has been closed due to inactivity. Feel free to re-open if you still encounter this issue.
@sarabala1979 @alexec can this be added to the docs?