I have process where I am fetching OTP from unread email. sometimes I did not getting emails and sometimes able to get it. So, can someone explain why ?
I am using retry scope activity and trying to find email for 10 times.
Exchange scope activity.
I guess the issue is not with the activity. Some times it would take some more time to deliver the emails to the outlook. So, when the bot is trying to process at this time it might not able to retrieve/read the emails.
Some times, the email delivers within a time hence the bot able to read it
You said few cases bot not able to read the email. Did you try to check mailbox at that point to know all the emails were delivered/not. If you are not then please check and let us know
Try doing some test run to make sure the activity is working fine. Send your mails to outlook first. Maker sure all the emails were delivered. Now, trigger the bot and see is it able to read all the emails or not
If no, that means we have to do something with the activity
Else, there might be some additional logic needed where the bot has to open mail box and refresh(3 times) then reading the emails