cancel
Showing results for 
Search instead for 
Did you mean: 

Getting session variables and their values via CLI

MarnikMerken
Level 2
Hello!

On this page: Blue Prism CLI Journey - blueprism® DX it says that you can use the /vars <sessionid> command to get all the session variables and their values.

When I use the following command: 
automatec.exe /vars

I'll get this error:
Invalid command-line argument '/vars'

What am I doing wrong?
Thank you in advanced!

------------------------------
Marnik Merken
------------------------------
1 BEST ANSWER

Helpful Answers

John__Carter
Staff
Staff
Hi Marnik BP has a two kinds of API, one for executables (automate.exe and automatec.exe) and one for the HTTP listener. They offer similar but not identical functionality, and 'vars' is only available as a HTTP command.

https://bpdocs.blueprism.com/bp-6-10/en-us/helpResourcePCCommands.htm?Highlight=vars

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

View answer in original post

2 REPLIES 2

John__Carter
Staff
Staff
Hi Marnik BP has a two kinds of API, one for executables (automate.exe and automatec.exe) and one for the HTTP listener. They offer similar but not identical functionality, and 'vars' is only available as a HTTP command.

https://bpdocs.blueprism.com/bp-6-10/en-us/helpResourcePCCommands.htm?Highlight=vars

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

Hi John, thanks for the answer!

It works now!


------------------------------
Marnik Merken
------------------------------