Skip to main content
Nintex Community Menu Bar

Emailtrigger with the first unread mail wil mark the mail read before your script starts!!!

let's say you want to let a robot be triggered by a mail with subject #Blueprint​ 

You create a trigger in the Administrator Console.

 

Wath out! If in your robot script it say it acts on this subject with "unread email' this will not work.

Because if you have one email receieved, the trigger will mark thisemail read.. and your script won't find an email according to these rules.

So remove this mark from the GET EMAIL command and let your script move the mail to a subfolder or delete afte use otherwise the script will keep reading this mail.

Mind you this is how it worked in version 20.3

So true, thanks for sharing!

It is very important to test your "Get email" advanced commands to make sure it captures the right email. The "unread" filter should be used only for inbox that receives a lot of emails, and leaves them in the inbox after handling them 


So it seems the mail is put on read and a task is created for the robot. Isn't it in this case best to use the email message key? This way you can ensure that the mail that triggered the script is also the mail found by the get email messages command.


Good point, @Dylan van Vuren​ . @leon RomansvanSchaik​ - what do you think? ​ 


Reply