cancel
Showing results for 
Search instead for 
Did you mean: 

Batch file creation on exporting multiple process on single bath file

Pradeep
Level 2
Hi Team.

Attempting to create a batch file that has following features


  • exporting multiple process from single file
  • saving  it in a separate folder other than the automate folder


------------------------------
Pradeepkumar E
Architect
SCALTRON Technologies
Asia/Kolkata
------------------------------
2 REPLIES 2

james.man
Staff
Staff
You can export individual XML files for processes or objects using the CLI.  A sample CLI command would be:

AutomateC /export "Finance Process V1.0" /user UserName P@ssword

Note that the XML file will be exported to the folder where the command was executed and requires that the folder has write permissions.  Any existing files with the same name and .xml extension will automatically be overwritten.

If you need to export to a different folder, run your command from a different folder that you have write permissions to, and specify the full path to the AutomateC command

In addition, the user in the command must have the following BP user permissions:
Object Studio ->
 Export Business Object or
Process Studio ->
 Export Process


In order to export multiple Objects or Processes in a single batch file, simply add more of the AutomateC commands in your batch file.

------------------------------
James Man
Professional Services
Blue Prism
Asia/Hong_Kong
------------------------------

John__Carter
Staff
Staff
To add to James' advice, you can simplify the bat file like this:

set bp="C:\Program Files\Blue Prism Limited\Blue Prism Automate\AutomateC.exe" /user "my user" mypassword /export

%bp% "Process 1"
%bp% "Process 2"
%bp% "Process 3"

------------------------------
John Carter
Professional Services
Blue Prism
------------------------------