Hi team.. if a task is getting retried, is there a...
# ask-the-community
r
Hi team.. if a task is getting retried, is there a way to know from within the task that it is a retry attempt?
k
Yes there is an env var
d
@Rupsha Chaudhuri
FLYTE_ATTEMPT_NUMBER
should do the trick
r
thanks!