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
Is it possible to get the date of the last successful workflow run as an input variable? I'm looking at doing something like the cron-backfill example (https://github.com/argoproj/argo-workflows/blob/master/examples/cron-backfill.yaml), where a workflow is run multiple times a day and receives a timestamp range of data to process for the current day.
I'm currently running the following every hour, processing changed data of the current day multiple times:
It would of course be cleaner to just process the data since the last successful run (in case it keeps failing throughout one or more days). Is something like workflow.lastSuccessfulRun possible, or is there a better pattern?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Is it possible to get the date of the last successful workflow run as an input variable? I'm looking at doing something like the cron-backfill example (https://github.com/argoproj/argo-workflows/blob/master/examples/cron-backfill.yaml), where a workflow is run multiple times a day and receives a timestamp range of data to process for the current day.
I'm currently running the following every hour, processing changed data of the current day multiple times:
It would of course be cleaner to just process the data since the last successful run (in case it keeps failing throughout one or more days). Is something like
workflow.lastSuccessfulRun
possible, or is there a better pattern?Beta Was this translation helpful? Give feedback.
All reactions