cancel
Showing results for 
Search instead for 
Did you mean: 

Invoking Schedulers from Process iteself

AmritapaPattana
Level 3
Hi Pros..

Is there a way we can invoke a particular bot using it's scheduler via BP Process itself ?
Example : after 20 transactions from queue are completed, I want to invoke another BOT using the BP process. Is it doable?

------------------------------
Amritapa Pattanayak
AD01, ARA01
------------------------------
3 REPLIES 3

VivekGoel
Level 10
Ofcourse Possible, 
If you want to invoke a process after 20 transactions, that's Not scheduling.

However, if you wish to still do so... you can do it using any of the below methods,
1- Call the second process as a subprocess itself from your master process once the counter reaches 20. However, it will mean the second process will be running on the same VM.
2- Once the counter reaches 20, trigger a command line running of process to some other VM.
3- Have a queuing mechanism using dynamic scheduling and once the counter reaches 20, add the process to queue which will be fetched by some other process running 24X7 to scan the queue and trigger the process name present in the queue. (This will require some major design and check with your client if they are ready to invest)

------------------------------
Vivek Goel
RPA Architect
Avanade
Asia/Singapore
------------------------------

Miguel_JesusFer
Level 3
You have the following options for the scheduler with automatec

From Blue Prism documentation

You can start and delete schedules and view reports and timetables using the automatec command line program. To perform any of the schedule actions, valid login details must be provided.

/schedule <name|...>

Specifies the name or names of the schedules to be used in conjunction with
the
/startschedule, /deleteschedule, /viewschedtimetable and /viewschedreport actions.
Any parameters following a /schedule switch will be treated as schedule names until another switch is reached (ie. a parameter starting with a "/" character) or the end of the
command is reached.
When no schedules are specified, the commands are generally treated as running on all schedules.

/startschedule [/schedule <name|...>]

Initiates the specified schedule at the current time. If the scheduler is running it should execute the schedule within 30 seconds.


You can run a process in another runtime resource with automatec using /run

From the Blue Prism AutomateC documentation:

Run a process on the local PC:

AutomateC /run "My Scheduled Process" /user admin mypwd

Run a process on a remote PC with startup aprameters

AutomateC /run "Excel Test" /resource YourPCHostName /user admin mypwd /startp "<inputs><input name='Comment' type='text' value='Hello World' /></inputs>"

I hope this helps!

Regards,
Miguel Fernandez
INVOKEinc

------------------------------
Miguel Jesus Fernandez Lopez
Director of Intelligent Automation
IN-RGY
America/New_York
------------------------------

Hi,

You could do it by "Dynamic Scheduler": https://portal.blueprism.com/documents/standard?title=dynamic+scheduler&category=All&lang=1382

Hope this helps.

------------------------------
Tetsuji Junicho
Manager of RPA Practice Grp.
Accenture Japan
Asia/Tokyo
------------------------------