cancel
Showing results for 
Search instead for 
Did you mean: 

Environment variable usage in Web API Base URL

ShawnDuff
Level 2
Hi,

Is it possible to use environment variables in the Web API Base URL section?  We've had several instances where some of the developers are overwriting lower environment URL's in our higher environments when importing an existing WEB API by mistake and were hoping to avoid it completely, otherwise we'll just handle through training.

Currently working on Blue Prism 6.4.2.

Thanks!

------------------------------
Shawn Duff
Project Manager
Finance
America/Phoenix
------------------------------
1 BEST ANSWER

Helpful Answers

bruce.liu
Staff
Staff
Hi Shawn,

You can use parameter in Base URL field.

A common parameter can be created and choose to expose it to the object. You can then use an environment variable to supply the value during runtime.

12302.png

------------------------------
Bruce Liu
Senior Product Consultant, Professional Services
Blue Prism
Australia/Sydney
------------------------------

View answer in original post

2 REPLIES 2

ewilson
Staff
Staff
Hi @ShawnDuff,

I haven't tried environment variables with the URL, but I have used regular input variables. I would imagine environment variable would work too.

Cheers,​

------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------

bruce.liu
Staff
Staff
Hi Shawn,

You can use parameter in Base URL field.

A common parameter can be created and choose to expose it to the object. You can then use an environment variable to supply the value during runtime.

12302.png

------------------------------
Bruce Liu
Senior Product Consultant, Professional Services
Blue Prism
Australia/Sydney
------------------------------