When ever I am having System exception the bot does not retry . In Init applications the bot downloads file and reads the data from that file in (Gret Trnsaction state) from that file but when ever there is system exception the bot does not retry , the system exception counter does not increments . It fails in Get Transaction state saying no Input file present.
. I have added max retry 2 for system exceptions but it does not go to init state and retries to download the file and get data .
Went to set transaction status where if you see at the bottom
There is an increment sequence where the io_retrynumber will be set to 0…the value of that variable will be zero and when so exception occurs it increments
The increment will happen in retrytransaction.xaml and before the increment there is a log message which is saying rrtry : 0 in your logs…which means it athe first retry…
Now when retry is being do…the retry will start from init …so it goes to init and then comes to get transactio. Data where again in your flow it is failing will value null that is some variable or file pth is empty rather than as expected
When some failure occurs in init or get transaction as per REF it would go to end state irrespective of you setting a retry or it being in normal or retry phase
So now what you need to focus and resolve is the issue you are getting in the get transaction data …so please work on it and the issue is not eith retry number
Hope this helps
My piece of help as the error says the workbook path is empty ao check that variable data particularly and preserve it to not to maka it emtpy…also ideally when the data is already read it should not be do for every system exception or so…so its better you do such thinga in first run if condition of init state
I got your point. But my ask is if its failing and going to init state it should go and download the file in Init All applications.
Based on this download file , the Get Transaction gets the data .
When it is going to init state Why is it not going to Init All applications and downloading the file. Since its not downloading the file , the variable in Get Transaction becomes empty
With this screenshot it is clear that you gave a if condition to check if in_retrynumber =0 but if there is a system exception as explained already that number would increment and change to 1 now…ao its not 0 …so if condition ,goes to else and hence not downloaded
I got it now
What is the solution so that I dont have to download the file again. The Get Trnsaction can get data from the already downloaded file in Input folder?
=0 will run it always…if you want to do that…then why do you want to give a if condition as well?
And if you want it to read the data again…in the first place does it need to read data again? Because already data is present in datatable why not use it?
If you want it to read again then sepeate the sequence of readinng from that if so that download happens once and read can happen multiple times
But again i dont see a point on why you would want to read it multiple times when already data is present in a variable for you to use