cancel
Showing results for 
Search instead for 
Did you mean: 

Automate C

MuppsS1
Level 2
Hi ,

is there any possibility to send some meta information while running 

AutomateC /run  command 

I need to save that meta information on
BPASession table also that I can use in future.


------------------------------
Mupps S
------------------------------
2 REPLIES 2

Hi @Mupps S,

If you want to pass any information into the process, you can do so once you have set input parameters in the 'Start' stage of your Main page in the workflow. Once, the input parameters are set which are also referred to as Startup parameters​ for a given process, you can use the following command format to pass on any input values:

AutomateC.exe /run "<Process_Name>" /startp "<inputs><input name='{Parameter1_Name}' type='{Parameter1_Type}' value='{Parameter1_Value)'/><input name='{Parameter2_Name}' type='{Parameter2_Type}' value='{Parameter2_Value)'/>...<input name='{ParameterN_Name}' type='{ParameterN_Type}' value='{ParameterN_Value}'/></inputs>" /user "{user_name}" "{password}"


Test Workflow:

Here I have a process called, 'Order System - Load Queue' and as you can see, I have defined a start-up parameter here called as ' Input File Name' mapped to a data item called as 'File Name':

32404.png
Now, once the process is published, I make the following call in my command line prompt:

AutomateC.exe /run "Order System - Load Queue" /startp "<inputs><input name='File Name' type='text' value='{Input_File_Path}'/></inputs>" /user {Username} {Password}



32405.png
And you can see the session logs where it ran with the start-up parameters in place as well below:

32406.png



------------------------------
----------------------------------
Hope it helps you out and if my solution resolves your query, then please mark it as the 'Best Answer' so that the others members in the community having similar problem statement can track the answer easily in future

Regards,
Devneet Mohanty
Intelligent Process Automation Consultant | Sr. Consultant - Automation Developer,
WonderBotz India Pvt. Ltd.
Blue Prism Community MVP | Blue Prism 7x Certified Professional
Website: https://devneet.github.io/
Email: devneetmohanty07@gmail.com

----------------------------------
------------------------------
---------------------------------------------------------------------------------------------------------------------------------------
Hope this helps you out and if so, please mark the current thread as the 'Answer', so others can refer to the same for reference in future.
Regards,
Devneet Mohanty,
SS&C Blueprism Community MVP 2024,
Automation Architect,
Wonderbotz India Pvt. Ltd.

ok I got it thanks for the clarification @Devneet Mohanty

------------------------------
Mupps S
------------------------------