# How I can set retry number as 6 in case of incident. tried putting it in Retries of service node but not working

**URL:** <https://forum.camunda.io/t/how-i-can-set-retry-number-as-6-in-case-of-incident-tried-putting-it-in-retries-of-service-node-but-not-working/53781>\
**Category:** Camunda 8 Topics\
**Created:** [July 19, 2024, 9:16am UTC](https://forum.camunda.io/t/how-i-can-set-retry-number-as-6-in-case-of-incident-tried-putting-it-in-retries-of-service-node-but-not-working/53781 "2024-07-19T09:16:57Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pratiksha1205](https://forum.camunda.io/letter_avatar_proxy/v4/letter/p/a8b319/32.png) [@Pratiksha1205](https://forum.camunda.io/u/Pratiksha1205)\
**Post date:** [July 19, 2024, 9:16am UTC](https://forum.camunda.io/t/how-i-can-set-retry-number-as-6-in-case-of-incident-tried-putting-it-in-retries-of-service-node-but-not-working/53781/1 "2024-07-19T09:16:57Z")

</div>

how I can set retry number as 6 in case of incident. tried putting it in Retries of service node but not working

---

<div class="post-metadata">

**Author:** ![rohwerj](https://forum.camunda.io/user_avatar/forum.camunda.io/rohwerj/32/33352_2.png) [@rohwerj](https://forum.camunda.io/u/rohwerj)\
**Post date:** [July 19, 2024, 10:48am UTC](https://forum.camunda.io/t/how-i-can-set-retry-number-as-6-in-case-of-incident-tried-putting-it-in-retries-of-service-node-but-not-working/53781/2 "2024-07-19T10:48:18Z")

</div>

Hi @Pratiksha1205.

Did you look at the following page:

> **[Zeebe API RPCs | Camunda 8 Docs](https://docs.camunda.io/docs/apis-tools/zeebe-api/gateway-service/#updatejobretries-rpc)**
>
> The Zeebe client gRPC API is exposed through a single gateway service.

You should be able to set the retries to any value you want with this gRPC call.

---

<div class="post-metadata">

**Author:** ![Pratiksha1205](https://forum.camunda.io/letter_avatar_proxy/v4/letter/p/a8b319/32.png) [@Pratiksha1205](https://forum.camunda.io/u/Pratiksha1205)\
**Post date:** [July 22, 2024, 11:16am UTC](https://forum.camunda.io/t/how-i-can-set-retry-number-as-6-in-case-of-incident-tried-putting-it-in-retries-of-service-node-but-not-working/53781/3 "2024-07-22T11:16:19Z")

</div>

Thanks @rohwerj , but I want to set it from service task node and it should get reflect in activatedJob. This I am not able to achieve  
Could you please help on this

---

<div class="post-metadata">

**Author:** ![rohwerj](https://forum.camunda.io/user_avatar/forum.camunda.io/rohwerj/32/33352_2.png) [@rohwerj](https://forum.camunda.io/u/rohwerj)\
**Post date:** [July 22, 2024, 12:12pm UTC](https://forum.camunda.io/t/how-i-can-set-retry-number-as-6-in-case-of-incident-tried-putting-it-in-retries-of-service-node-but-not-working/53781/4 "2024-07-22T12:12:24Z")

</div>

@Pratiksha1205 Maybe I don’t fully understand, what you’re trying to do. If you have an activated job, you can call the failJob gRPC call to notify the system of a faillure. That call accepts a retries and retryBackoff parameter to control the retry behavior. See here:

> **[Zeebe API RPCs | Camunda 8 Docs](https://docs.camunda.io/docs/apis-tools/zeebe-api/gateway-service/#failjob-rpc)**
>
> The Zeebe client gRPC API is exposed through a single gateway service.

---

<div class="post-metadata">

**Author:** ![system](https://forum.camunda.io/uploads/default/original/3X/5/8/58d50142eacca605d35cb1ef9e6b86ae85f49436.png) [@system](https://forum.camunda.io/u/system)\
**Post date:** [October 20, 2024, 12:13pm UTC](https://forum.camunda.io/t/how-i-can-set-retry-number-as-6-in-case-of-incident-tried-putting-it-in-retries-of-service-node-but-not-working/53781/5 "2024-10-20T12:13:22Z")

</div>

Closed on October 20, 2024, 12:13pm UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
