Can you also share the video with me? My mail id: firstname.lastname@example.orgCreate a rule to start an application when an email is received. You can then start the process by using "automate.exe" command line, triggering a schedule or running the process directly, e.x. "Automate.exe /run Process1 /sso"
If you use outlook 2016, you will need to enable UnsafeClientMailRules to get the "start an application" option.
You can do this by going into regedit, navigate to "Computer\HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\Security", create a new DWORD named "EnableUnsafeClientMailRules" and set it's value to "1".
Good luck, let me know if there are any issues
Steps To Trigger a process when mail arrives having specific keywords :
1. Create a new Rule in Outlook as ‘Run a process’ if Email having specific keywords(any specific criteria) is received. For Outlook 2016 rule ‘Run a process’ is not present in Rule wizard. Follow below steps to add rule ‘Run a Process’:
2. Create .bat Process file (to run through outlook Rule) having below commands:
- a. Click Start -> Search, type ‘regedit’ (Note: there is no quotation marks in the command.) and press Enter.
- b. Navigate to HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\Security.
- c Right-click a blank area, create a new DWORD Value named as ‘EnableUnsafeClientMailRules’ and set it to 1.
cd C:\Program Files (x86)\Blue Prism Limited\Blue Prism Automate
.\AutomateC.exe /user <Blue Prism Username> <Password> /run <Process name>
<Blue Prism Username>: Provide user name of Blue prism
<Password>: Provide Password of Blue prism
<Process name>: Process name to trigger
NOTE: Blue prism must be running and Process must be published to Control Room.
Hope this will help.
Hi ,This is excellent - many thanks, Khushbu.
One question: When you say "if Email having specific keywords (any specific criteria) is received", I believe I understand what you mean when you say "specific keywords". But I don't understand where those specific keywords are to be located. Are those keywords supposed to be contained in the Subject Line of the email? The Body of the email? Both of those places? Either of those places?
Also: I take it that you mean the <Process name> that is to be used in the email to trigger the process must match the name of the process - exactly. In other words, if the email was intended to trigger <Process name>, but was sent with the keyword as "Processname" or "process Name" or "Process_name" in it, the match would not be exact and the process would not be called. So if you want to trigger a process called <Process name>, you must include "Process name" in the email - is that right?
Thanks in advance.