Trigger a schedule using e-mail

raniamh

New Member
I am just wondering if it is possible to start certain schedule in the control room using an e-mail with certain subject?
I mean can i send an e-mail with certain subject like run ( process name ) schedule to the robot and then he responds by running the schedule immediately?
 

Pete_L

Active Member
I do not think it is possible, but others may have a solution.

Assuming it can be done, I would have to ask: What if another process is running on the bot when the email arrives? If the bot is busy, the schedule won't kick off. In that case, kicking the schedule by an incoming email would be fruitless. Why don't you just set up the schedule to run at a specific time, when you know that nothing else will be running on the bot? That's how schedules are designed to work.
 

Felix Oehl

New Member
+1 to Pete's assertion that Schedules are for exactly that, running processes at a scheduled time or a scheduled frequency.

If what you're after is an email hot-trigger, there are a few solutions, but each of them has their drawbacks.
1) If you have an additional license, you can set up a bot to run as a process administrator, checking for emails and hot folders and triggering the associated bots as appropriate. The downside is that this consumes a license to do it, so only really makes sense if you have multiple processes that require hot-folder or email triggering
2) Set your process on a frequent repeating schedule to check every 5 minutes (or whatever interval you wish). Usually the process doesn't HAVE to be started the second the email arrives and in this case a short delay is often acceptable.
3) Utilise a script to do the checking of the emails and then trigger the process using AutomateC (the Blue Prism command line application)

There are more possibilities than that, but those are the 3 that spring immediately to mind. Of course if the requirement is actually just to allow a user to trigger the process ad-hoc, then email may not need to be part of the solution. In that case you could look at using a script of small custom app to trigger the process directly via AutomateC.

EDIT: After re-reading your initial post, it seems like using AutomateC directly could come the closest to what you're trying to do as it allows you to send a command to Blue Prism to start a process.
 

raniamh

New Member
+1 to Pete's assertion that Schedules are for exactly that, running processes at a scheduled time or a scheduled frequency.

If what you're after is an email hot-trigger, there are a few solutions, but each of them has their drawbacks.
1) If you have an additional license, you can set up a bot to run as a process administrator, checking for emails and hot folders and triggering the associated bots as appropriate. The downside is that this consumes a license to do it, so only really makes sense if you have multiple processes that require hot-folder or email triggering
2) Set your process on a frequent repeating schedule to check every 5 minutes (or whatever interval you wish). Usually the process doesn't HAVE to be started the second the email arrives and in this case a short delay is often acceptable.
3) Utilise a script to do the checking of the emails and then trigger the process using AutomateC (the Blue Prism command line application)

There are more possibilities than that, but those are the 3 that spring immediately to mind. Of course if the requirement is actually just to allow a user to trigger the process ad-hoc, then email may not need to be part of the solution. In that case you could look at using a script of small custom app to trigger the process directly via AutomateC.

EDIT: After re-reading your initial post, it seems like using AutomateC directly could come the closest to what you're trying to do as it allows you to send a command to Blue Prism to start a process.

thanks alot for your support it really helps me
 
Top