I have a emailfolder with some milions of email in it.as a part of autonation the dispatcher process reading lets say 2000 email and move that email from one folder to another folder in machine A. Now performs process should read this emails from machine B. But the synchronization taking a longer time and when performer process is staring UiPath is not able to fetch any email from 2nd folder .
Due to some restrictions we can only use outlook and not exchange..is there a way to synchronization a mail box for a user a ccount accross all the machine ?
Try to give orchestrator queues a shot:
-Dispatcher
Reads 2000 emails in Outlook
For each email, adds a transaction item to the “DispatchQueue”
Moves processed emails in Outlook
-Performer
Uses an orchestrator queue trigger on “DispatchQueue”
Orchestrator auto starts the performer and feeds it each transaction item
Correct.. this is what i am doing..so when performer picked the transcation, it also has to get the eamil from that folder..and this is where synchronization issue coming.. since email boc has milion mails and we did the email movements in machine A…it is taking lot of time to sync in machine B where performer is runnjng.. we cant always manully login to machine B for syncing the emails
Are you accessing the mails in machine B for some data or for moving those mails again lets say to a processed folder? if for details you can add them in the queue item itself
also you can restart outlook on the machine which forces a sync.
and when you are moving emails in machine A can you add a test step where after moving the mails. You restart outlook and try to access the moved mails and check whether you are able to access
In machine B, we are running performer process.. we are using start process activity to start or launch the outlook and waiting for few min before picking transaction item…usually this works fine when mail box is small or have mails in thousands…but here we are talking about mail box with millions of emails…so sync is taking time..sometime we need to manually login to machine B and wait for sync … we cant add the email details to the queue as we need entire email to convert to pdf and send to icmp
A better alternative would be to save the email in a shared folder and use from there so that the issue can be minimized..instead of moving to another folder and trying to access from there
Second use ui approach to click on send/receive emails and wait..which is not recommended way
I am looking if there is a options to synchronize the mail box folder for a single user across a machine template? If can be done using invoke code i am open with that suggestion as well
it is user level but every machine is different right..outlook for each machine is different even if user is same..so on each we need to refresh because outlook uses the local cache it has and even if it is same user the cache is for each machine for each user
Thank you. This is something i am aware and this is the reason i am looking for some help or options(if i am missing anything).
I really need to find a way to sync mail box folder with milions of email across 4-5 vdi which is mapped to a machine template.
I am ok to explore in vb code if needed.