With Argo Workflow I try to create a CronWorkflow who are scheduled once a day.
I want send a parameter to my app in condition of day of the week like :
kind: CronWorkflow
spec:
schedule: "0 10 ? * *"
workflowSpec:
arguments:
parameters:
- name: myParam
value : |-
{{`{{= eq workflow.scheduledTime.Weekday() 0 | ternary \"close\" \"open\"}}`}}
I have try several format without success so far.