Hi team.. if a task is getting retried, is there a...
# flyte-support
l
Hi team.. if a task is getting retried, is there a way to know from within the task that it is a retry attempt?
f
Yes there is an env var
a
@little-cricket-84530
FLYTE_ATTEMPT_NUMBER
should do the trick
l
thanks!