cancel
Showing results for 
Search instead for 
Did you mean: 

Trigger the Process using command line

VasantKumar1
Level 2
Hello Community,

Greetings!

We are working on a usecase where requirement is to trigger(using command line) the Blue Prism process (Run Mode:-Foregound )as soon a ServiceNow, RITM is approved. I have 2 doubts

  1. Lets say, 2 RITM's are approved at a same time. what will happen to the process as both RITM's will try to start the Blue Prism process.
  2. Do we have an option to add the items to the Queue using the command line?
Thanks in advance

Regards,
Vasant

------------------------------
Vasant Kumar
------------------------------
2 REPLIES 2

ewilson
Staff
Staff

Hi @Vasant Kumar,

What version of Blue Prism are you using? With the release of BP v7 there is now a REST API that can be used to push work into a work queue. Prior to v7, you could still push work into a queue but you would need to expose a VBO, as a SOAP web service, to do it. There is no option, as I recall, to do this from the command line (i.e. AutomateC.exe).

As far as two items kicking off at the same time, if they're targeting the same runtime resource one will start and the other will receive an error response I believe.

Cheers,




------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------

chris.strong
Staff
Staff

@ewilson got there before me,

 

@Vasantkumar Just to add, I don't think you'd want to be driving the running of processes on specific workers directly, instead you want to be adding prioritized work to Work Queues, and let the Digital Workforce pick up that work in priority order.

 

With Blue Prism Version 7, we introduced a RESTful API to better serve these needs (adding work for Digital Workers from 3rd party systems [such as Service Now]).

​​

------------------------------
Chris Strong
Product Manager
Blue Prism
------------------------------