# Why can&#39;t we implement adding transaction status to failed transaction when we are using queue retry

When in a new transaction gets added for failed transaction using auto retry option how can we proceed to add the transaction status in the new transaction so that we can retry that transaction from where it failed? And why not break will work in other loops only in some loops it supports.

##### Post Metadata
- Posted at: over 6 years ago
- Author title: Senior associate (RPA developer)
- Net upvotes: 1


## Comments
### Comment 1

@ Leela, While processing the transaction items put if condition for checking the queue items failed or new,  accordingly you  need to put business code inside for each loop , inside for each loop break will work.

##### Comment Metadata
- Posted at: over 6 years ago
- Author title: Associate Consultant




## Related Product
[UiPath Agentic Automation](https://www.g2.com/products/uipath-agentic-automation/reviews)

## Related Category
[Robotic Process Automation (RPA)](https://www.g2.com/categories/robotic-process-automation-rpa)

## Related discussions
- [How well does Trello scale into a larger team?](https://www.g2.com/discussions/1-how-well-does-trello-scale-into-a-larger-team)
  - Posted at: about 13 years ago
  - Comments: 6
- [Can we please add a new section](https://www.g2.com/discussions/2-can-we-please-add-a-new-section)
  - Posted at: about 13 years ago
  - Comments: 0
- [Quantifiable benefits from implementing your CRM](https://www.g2.com/discussions/quantifiable-benefits-from-implementing-your-crm)
  - Posted at: about 13 years ago
  - Comments: 4


