Everytime a dag triggers a task I would like to generate a value and keep the value during retry (if the task fails to run for any reason)
I try to declare a variable inside the dag (basically set current time to the variable) When the task fails and it retries, it set the variable with latest time again