# REFRamework Template\_ConsecutiveSystemExceptions

**URL:** <https://forum.uipath.com/t/reframework-template-consecutivesystemexceptions/722316>\
**Category:** Automation Starter\
**Created:** [February 26, 2024, 6:27am UTC](https://forum.uipath.com/t/reframework-template-consecutivesystemexceptions/722316 "2024-02-26T06:27:39Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![devasaiprasad\_K](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/devasaiprasad_k/32/512548_2.png) [@devasaiprasad\_K](https://forum.uipath.com/u/devasaiprasad_K)\
**Post date:** [February 26, 2024, 6:27am UTC](https://forum.uipath.com/t/reframework-template-consecutivesystemexceptions/722316/1 "2024-02-26T06:27:39Z")

</div>

Continuing the discussion from [RE Framwork: MaxRetryNumber vs MaxConsecutiveSystemExceptions](https://forum.uipath.com/t/re-framwork-maxretrynumber-vs-maxconsecutivesystemexceptions/453279/4):

i understood the explanation and i got clarity that these values are configured in the CONFIG File but to my surprise i saw something in REFRamework Template… can you explain what is the below used for?

 ![image](https://global.discourse-cdn.com/uipath/original/4X/f/f/7/ff72203cf9bd1331e47957d45d45aa7b9b630e0e.png)  
is it different from Config file value or ?

---

<div class="post-metadata">

**Author:** ![Anil\_G](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/anil_g/32/524291_2.png) [@Anil\_G](https://forum.uipath.com/u/Anil_G)\
**Post date:** [February 26, 2024, 6:29am UTC](https://forum.uipath.com/t/reframework-template-consecutivesystemexceptions/722316/2 "2024-02-26T06:29:01Z")

</div>

@devasaiprasad_K

it is just a default value in case the field is removed from config this value is used

this value is over written if already present in config

cheers

---

<div class="post-metadata">

**Author:** ![devasaiprasad\_K](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/devasaiprasad_k/32/512548_2.png) [@devasaiprasad\_K](https://forum.uipath.com/u/devasaiprasad_K)\
**Post date:** [February 26, 2024, 6:35am UTC](https://forum.uipath.com/t/reframework-template-consecutivesystemexceptions/722316/3 "2024-02-26T06:35:54Z")

</div>

can we configure the same for Business Exception? like consecutive 3 Business Exception?

---

<div class="post-metadata">

**Author:** ![ashokkarale](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/ashokkarale/32/474400_2.png) [@ashokkarale](https://forum.uipath.com/u/ashokkarale)\
**Post date:** [February 26, 2024, 6:54am UTC](https://forum.uipath.com/t/reframework-template-consecutivesystemexceptions/722316/4 "2024-02-26T06:54:06Z")

</div>

@devasaiprasad_K ,

Sadly no readymade solution for that. If you want something like System exception for Business exception, you will have to build the logic.

You can add this logic in Get Transaction data, before Get Transaction Item, retrieve previous failed queue items and check if they were failed due to Business exception. This is time taking and non reliable solution.

You can use Orchestrator API to fetch the Failed queue items with API and do the logic as per your requirement.

Thanks,  
Ashok 🙂

---

<div class="post-metadata">

**Author:** ![Anil\_G](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/anil_g/32/524291_2.png) [@Anil\_G](https://forum.uipath.com/u/Anil_G)\
**Post date:** [February 26, 2024, 7:02am UTC](https://forum.uipath.com/t/reframework-template-consecutivesystemexceptions/722316/5 "2024-02-26T07:02:31Z")

</div>

@devasaiprasad_K

We can configure…as mentioned by @ashokkarale that is not inbuilt…you can build similar to system exception

No need of getting queue item values and all…instead can use same as system exception of counting the exceptions

cheers
