Skip to main content

Bot has been scheduled twice in a day. Emails from shared mailbox are not processed in the first run and in the next run all the emails are processed as expected. Could you please help to resolve this issue?

 

Hi @Yazhini 3433 

If you are using Outlook DLL can you add delay so it launches outlook completely and try again? Also confirm are you using DLL or email package for this?


Thanks for your response. I am using email package not DLL.


Can you share the error or code screenshot  if possible

 


There is no error. It says, BOT completed successfully. In BOT, I am saving the attachment to a local folder from email. This is not happening. I am not sure if the BOT is not reading the email or not saving the attachment. This issue happens only when the BOT is scheduled. When I run the BOT manually, It works fine. 


There is no error. It says, BOT completed successfully. In BOT, I am saving the attachment to a local folder from email. This is not happening. I am not sure if the BOT is not reading the email or not saving the attachment. This issue happens only when the BOT is scheduled. When I run the BOT manually, It works fine. 

Add some delay while saving the attachments and try 


Sure, Thanks for your suggestion.


Sure, Thanks for your suggestion.

Welcome


Hi @Yazhini 3433 ,

 

If I may ask, from where your trying to read the mail? Is it from Inbox or from any other Sub folder?

If it is from Inbox, try to put a rule in outlook for moving all the required communications to a sub folder when a new communication arrives. Later, try looping inside that sub folder. If you want, you add an additional logic to move all the communication back to Inbox itself through BOT once the required action is performed.

 


I am reading the email from subfolder only. And also I don’t find any issue in the second run for the day, the issue is only in the very first run.


Hello, has anyone found solution for the above?


We haven't encountered any issues while scheduling the bot to operate on weekends. The bot reads emails from the shared mail box successfully. When the read email operation is completed, the bot moves the email to a specified folder.


Reply