cancel
Showing results for 
Search instead for 
Did you mean: 

Automate Blue Prism Login - Community Edition

DipinDevP
Level 6

Hi Everyone,

I understand that the Blue Prism Community Edition lacks a built-in process scheduling mechanism. However, I'm looking for workarounds or alternative methods to automate the following tasks using a BAT file or other means:

  1. Log in to Blue Prism with the available credentials.
  2. Run the published process.

Please help me with suggestions if it is achievable.

Thanks in advance!
Dipin Dev P

@david.l.morris @Neel1 @SayeedBinAbdullah @harish.mogulluri 

 

2 REPLIES 2

Hi @DipinDevP 

The below command can be used to start a resource PC file which will eventually trigger a scheduled process,
@echo off
"C:\Program Files\Blue Prism Limited\Blue Prism Automate\Automate.exe" /resourcepc /public

Best Regards,

 

Sayeed Bin Abdullah

Senior Consultant
Wonderbotz

david.l.morris
Level 15

I don't have time to type out a full answer right now, but I'm hoping this will get you pointed in the right direction if no one else gives a full explanation. I should mention also that the learning edition (there is no community edition of Blue Prism) is not permitted for Production use. If you're just wanting to learn or practice by running automations for yourself to see how it would work, then I believe there's nothing wrong with that. I don't know that I've tested all this below in the learning edition either, but I see no reason that it wouldn't work. Hopefully AutomateC commands aren't disabled.

As Sayeed mentioned, you'd need to have a public runtime resource process running first. In a real environment, you'd create either a shortcut to Automate.exe or you can use a batch file. If you use a batch file, create the file at this location in order to have it start as soon as Windows is logged in:

C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup

In the batch file (let's say maybe the file is named "Blue Prism Runtime Resource.bat"), put this:

start "" "C:\Program Files\Blue Prism Limited\Blue Prism Automate\automate.exe" /resourcepc /public /invisible

Then what you'll need to do is call AutomateC from something like a batch script, PowerShell script, or whatever. Here's some documentation on the AutomateC CLI in v7.4:

Command line options

Note that since you're using Learning Edition, I would assume you're not using SSO, so the commands all must contain "/user <username> <password>". For example, to trigger a specific process to run, you might have a command like this:
(first change directory / cd to into the Blue Prism Automate folder or have that directory in your computer's PATH variable.)

AutomateC /user myusername mypassword123 /run myprocessname /resource mycomputername

Might need quotation marks around some values.

It's possible I'm forgetting some part of that command, but at a glance that seems right. You can also trigger a schedule to run instead as well. Use AutomateC /help or look at those docs I mentioned above to see other commands.


Dave Morris, 3Ci at Southern Company