cancel
Showing results for 
Search instead for 
Did you mean: 

Launch Process when email arrives

SureshVaishya
Level 2
Has anybody worked on a process that is launched immediately when email arrives. Our current license only allows one resource to run at at a time, so it should check if there is one already running. If no is available it should wait for 15 mins and check again.
I did some research and found a way to write script rules in outlook and call the process using automatec, however still have no clue on how to check if resource is available or not.
I would appreciate any input on this in resolving this issue.

Thank you in advance.
Suresh

------------------------------
Suresh Vaishya
------------------------------
5 REPLIES 5

PabloSarabia
Level 11
Hi @SureshVaishya

If you have the Outlook Application installed in the Runtime Resource you can create a Rule to execute a script that calls the AutomateC directly. (Here you have a guide of how to run a script with a rule https://www.slipstick.com/outlook/rules/outlooks-rules-and-alerts-run-a-script/). 

To call the AutomateC from this script use the "Shell" functions. Here you have another guide: https://docs.microsoft.com/en-us/office/vba/language/reference/user-interface-help/shell-function

If you have something more executing at the same time, by the limitations of your license, it may not run well.

You have something more executing in this Runtime Resource? If not, did you considered to create a infinite process that check continuously if exists new emails? This prevent you failures in the future.


Hope this helps you!!!

See you in the Community, bye 🙂

------------------------------
Pablo Sarabia
Solution Manager & Architect
Altamira Assets Management
Madrid
------------------------------

John__Carter
Staff
Staff
This might also be useful:

https://www.tachytelic.net/2017/10/how-to-run-a-vba-macro-when-new-mail-is-received-in-outlook/

------------------------------
John Carter
Professional Services
Blue Prism
------------------------------

Walter.Koller
Level 11
Just today it happened I wrote a reply to this question for an older threat.
Trigger blue prism process when an Outllok email arrives

------------------------------
Walter Koller
Solution Manager
Erste Digital / Erste Group Bank
Europe/Vienna
------------------------------

This is something that can be added in the BP, as there is no native trigger-based mechanism. But this feature is much needed and useful in many use cases where we don't want to keep polling and occupy license.

Neel1
MVP

+1 

i raised this 2 years back but not sure if Natively this feature is available or not.

We have been customizing our solution design to overcome this to avoid having tight schedule then ends in seconds.

https://community.blueprism.com/t5/Product-Forum/Automation-Trigger-from-Queue/td-p/74324