Use environment variable into process

I want to set a REST call from one process. But I want that URL depends on environment where it is deployed. is there any way to get environment variable inside a process ?

I’m looking for something like execution.getEnvVariable(“my_var”)

I would create the URL as an expression. You can add your custom functions to expressions by implementing ExpressionFunctionDelegate and adding implementation to engine configuration.
More info:

For usage examples check the source code.


1 Like

Thank you for your reply