Hey,
I want to set some activities no-retry at all by setting 0 to max-retry time. But the comment says 0 means default, so as far as I remember for retry in activities, the default is retrying forever. So how to totally stop retry for all kinds of failures ?
1 Like
Hi @maki_XIE
There are a couple of ways you can achieve it:
Keep in mind that in both cases, the activity execution will throw an ApplicationFailure that will fail your workflow if you don’t catch
it
Oh, sorry. I misunderstood. I thought maximum-attempts refer to retry-attempts count and I wonder why it starts from 1…