System Exception bot retries but adds the items in to queue with out retring the exception item in the queue

Hi i am facing the issue in the init state iam adding queues when item in the queue is in progress i got an system exception so again bot comes to init state but it is not retrying it is adding the same items in to queue how to stop adding items and retry the item which got exception how to resolve this?

@Udayreddy

Check that the add queue activity and related activities is inside the First Run Block

If you place outside then every retry it will do the activities

Hope this helps you

Thanks

Hi @Udayreddy ,

Please dont do any changes to your workflow…

In init, if you have as this, please keep the same…


The only, thing you might be doing mistake is, in InitallApplication you might be adding to the queue. Please change that approach.

In this block, add login, adding to queue and logout…

In Initallapplication, just add login & run the workflow…

It should work…

And talking about retrying the item, it is handled in the queue. Let know if you need more info in understanding the retry mechanism in queue. I will be happy to help you…