# Action property for retry count

**URL:** https://www.finalbuilder.com/forums/t/action-property-for-retry-count/6289
**Category:** Discussion
**Created:** [November 5, 2018, 11:50am UTC](https://www.finalbuilder.com/forums/t/action-property-for-retry-count/6289 "2018-11-05T11:50:01Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![mkold](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/m/d78d45/32.png) [@mkold](https://www.finalbuilder.com/forums/u/mkold)
#### Post date: [November 5, 2018, 11:50am UTC](https://www.finalbuilder.com/forums/t/action-property-for-retry-count/6289/1 "2018-11-05T11:50:02Z")

</div>

Hi FinalBuilder,

I can set the MaxRetryCount with action.MaxRetryAttempts on an action, but how can I get the actual retry count?  
I can see the the count is in the log (marked with arrows on picture)

 ![RetryCount](https://www.finalbuilder.com/forums/uploads/default/original/2X/5/5b083152075e0bb6c840a3235d9aede0c8979b42.jpeg)

But I can’t find the variable where it is stored.

Br

Martin

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [November 6, 2018, 6:51am UTC](https://www.finalbuilder.com/forums/t/action-property-for-retry-count/6289/2 "2018-11-06T06:51:13Z")

</div>

The retry count is internal to the component and resets after execution. I have exposed it as read only property to scripting :

[http://downloads.finalbuilder.com/downloads/finalbuilder/800/FB800\_2485.exe](http://downloads.finalbuilder.com/downloads/finalbuilder/800/FB800_2485.exe)

Not the retry won’t help in your example, as it’s unlikely that the expression will correct itself during retries. The retry option is really only intended for use where the error might correct itself, like for example an external server was temporarily unreachable.

---

<div class="post-metadata">

### Author: ![mkold](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/m/d78d45/32.png) [@mkold](https://www.finalbuilder.com/forums/u/mkold)
#### Post date: [November 6, 2018, 9:24am UTC](https://www.finalbuilder.com/forums/t/action-property-for-retry-count/6289/3 "2018-11-06T09:24:42Z")

</div>

Awesome, works like a charme, image was just an example to get the retry count in the log.

Thanks again for yet another fast response.

Martin
