Externalize URL in REST Connector

Hi, I am using outbound REST connector in my workflow to call REST APIs. I have hard-coded the API URLs in Camunda modeler itself under “Http Endpoint” → “URL”. But the URLs are going to change as per the environment like dev, sit, uat, prod etc. How can I externalize the URL values and pass them in the modeler?

Hi @sayan_b19 ,

You can use feel expression and assign the URL to a variable and start the process by giving the value

image
image

Thanks @Praveen_Kumar_Reddy , we can achieve the solution through this way.
But is there any other way of passing the URL, like defining as a constant somewhere.

Hi @sayan_b19 - secrets might be what you’re looking for. You would configure the secret with a different value in each environment.

1 Like