hello everyone,
im in need of idea on this one.
my RPA is like this;
- For Each Email (outlook)
- reads 5 unread emails
- add item to queue (the currentEmail’s details are put into queue item)
sometimes the currentEmail runs into error (sometimes due to bad internet connection), and im thinking of adding a retry scope
but i don’t know how to retry the currentEmail.
@JomarieBancolo
Just separate the bot logic into two bots.
Bot 1 dispatcher will add the mail message id to the queue along with other details if you want.
Bot 2 performer will get the email by id and process it. You can enable retry on queue level or simply add a retry scope.
Hi @JomarieBancolo
You are almost there
Please refer the below step and amend your workflow
For Each currentEmail in Get Outlook Mail Messages (Unread, Top 5)
Retry Scope Actions: Add Queue Item → use currentEmail details
Condition: Check True (or a small dummy activity)
Properties:
NumberOfRetries: 3 (or what you prefer)
RetryInterval: 00:00:05 (5 seconds)
Note : Retry will happen whenever an exception occurs. Otherwise, success.
Please let me know if it works