Blue Prism Product

 View Only
last person joined: yesterday 

This community covers the core Blue Prism RPA product.

  • 1.  AutomateC.exe & Automate.exe via command line

    Posted 08-17-2019 11:58
    Hi Everyone

    I've got a couple of questions relating to invoking automate.exe and automatec.exe via the command line.

    (a) If I attempt to start a BP runtime resource via CLI, the CLI doesn't return any output to indicate success or failure. All such information is written to the BP Resource PC window so my program is unable to tell if the "automate.exe /resourcepc ..." command has worked correctly. How have others handled this situation?

    (b) Is there any way to shutdown a BP Runtime resource via CLI?

    (c) I can trigger a process via "automatec.exe /run /startp ..." and can pass single instance data items via the "startp" xml string. I've not figured out how to pass in a collection however. Anyone know what the XML for that would be?

    Thanks a lot.


    Dan Ternes
    Blue Prism

  • 2.  RE: AutomateC.exe & Automate.exe via command line

    Posted 08-18-2019 14:48


    To your first point, I don't know of any direct way to find status once it's kicked off. Indirectly, you can do so through the BP app server, Windows Event Logs, the audit/session logs, and other secondary sources.

    There's no direct way to shut down a resource, but there are both primary and secondary ways to shut down a process. First, there's the "/requeststop" command line parameter for AutomateC which politely asks a process to die (the process has to be built to acknowledge the request). Similary, there are secondary ways - using a purpose-built process, for example - to update flag variables or queue items to put a different process into a finalized state and convince it to end gracefully.

    At an extreme, you can always just use a Windows command line/power shell command to kill the proces.

    The easiest way to pass a collection like that, honestly, may be to do something like pass JSON in as a single string and then parse it inside the process. I believe it's possible to pass in collections but it's a more complex XML structure, if I remember rightly. Take a look at how data is stored inside work queue items - I believe it's the same structure?

    Robin Toll
    Senior Technical Consultant
    Blue Prism
    Professional Services Americas
    Infrastructure & Architecture Specialist

  • 3.  RE: AutomateC.exe & Automate.exe via command line

    Posted 08-20-2019 06:21
    Thanks Robin.

    I decided if I was doing CLI anyway, I might as well go all-in so I achieved (a) using netstat (Google & StackOverflow were my friends for this :-) )

    I haven't checked out (c) yet, but your suggestion is a good one so thanks very much for that.

    Dan Ternes
    APJ Technology Specialist
    Blue Prism

  • 4.  RE: AutomateC.exe & Automate.exe via command line

    Posted 08-22-2019 09:57


    This is how we do it ; probably you already figured this out. ( Using Powershell )

    & $automatec /dbconname $DBConnection /resource $Resource /port 8180 /sso /run "Login" /startp "<inputs><input name='Login Locally' type='flag' value='False' /><input name='Domain' type='text' value='<YourAD_Name>' /><input name='Credential Name' type='text' value='$Credentials' /> </inputs>"

    All the best,


    Hakan Engman
    Automation engineer

  • 5.  RE: AutomateC.exe & Automate.exe via command line

    Posted 08-26-2019 02:52
    Thanks a lot, Hakan. That's great.

    Dan Ternes
    APJ Technology Specialist
    Blue Prism

  • 6.  RE: AutomateC.exe & Automate.exe via command line

    Posted 04-25-2022 04:35

    Hi Dan,

    To the pointer below - 

    (b) Is there any way to shutdown a BP Runtime resource via CLI?

    Lets say the available resource named rpa-bot-prod-128 is in need of a reboot - and we do pass a CLI as below 

    shutdown /m \\rpa-bot-prod-128 /r /t 0

    This will immediately initiate the shutdown process 

    (please do let us know if this is a working for you - and do suggest if this is one among the allowed practices as well )

    Sreeram Rangu

    RPA CoE Controller 

    CDK Global India

  • 7.  RE: AutomateC.exe & Automate.exe via command line

    Posted 04-25-2022 06:15
    Hi @Sreeram Rangu

    ​Here you have a list of the commands for the Resources PC

    You have an optional parameter for this, /waitforsessions . This wait until the session ends.

    If this doesn't works, I will recommend you to stop the session first with the command /requeststop (here you have more info about this parameter, and then use the shutdown command as you said.

    Hope this helps you!

    See you in the community, bye :)

    Pablo Sarabia
    Altamira Assets Management

Welcome to the Blue Prism RPA Product Community!

Whether you’re looking to manage a complex infrastructure, maintain security and compliance, bring new products to market faster, or gain operational speed and agility in an uncertain economy, Blue Prism delivers — with the flexibility you need to create the business you want. From deployment on-premise, through a cloud service provider or as SaaS, to a skillful and adaptable digital workforce that continually expands to meet your enterprise needs, you can gain enhanced operational insight and control while your people reclaim the time they need to focus on great work.

Product PageKnowledge BaseBlue Prism Training Offering
Product Research ProgramUpdates, Releases & Announcements


Blue Prism is intelligent automation — business-developed, no-code automation that pushes the boundaries of robotic process automation (RPA) to deliver value across any business process in a connected enterprise.

A combination of RPA with expanded cognitive and AI capabilities, Blue Prism is different than other automation technology on the market. With one Blue Prism license, you gain instant access to an already AI equipped digital workforce, along with the tools you need to build and delegate automations. Click here for more information on Blue Prism and Intelligent Automation.
To learn more about how Blue Prism RPA can help your organization and how much it will cost to get started, please Contact our Sales department.
Blue Prism RPA can be downloaded from our customer portal. If you would like to consume or download any material it is necessary to create an account on the Portal. Once you have registered, you can access the download options for Blue Prism here.
Yes! Installed on your own machine and supported by our training materials and product documentation, you can use all the features of the full enterprise product for free with our Blue Prism Trial – giving you the opportunity to learn the basics before moving to a full production implementation. Click here for more information and to download the trial.
Yes! You can access our known issue list for Blue Prism from our Support Portal.
Regardless of your industry, Blue Prism’s Digital Workforce can adhere to strict governance and compliance standards without limiting productivity. Click here for more information on how your industry can benefit from Blue Prism.