Question
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Accenture
IN
Last activity: 16 Mar 2021 4:06 EDT
NewMail Event in Robotic Automation
Hi,
Requirement - Automation should be triggered the moment a New mail comes post which it has to download the attachment and upload it to an application, after this process is completed, it has to wait for another new mail and repeat the process.
Problem - During bot execution, if another new mail comes, the automation execution flow is going back to the latest "New Mail" that came without completing the process of downloading and uploading the attachment to the application.
How can we handle this situation so that the process is completed for the first new mail and only post which it is repeated for the second one ?
Regards,