Hi,
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”)
Hi,
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”)
Hi,
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:
https://www.flowable.org/docs/userguide/index.html#expressionsFunctions
For usage examples check the source code.
Regards
Martin
Thank you for your reply
In case anyone in 2025 is looking for the info
: in Flowable Enterprise, you can configure endpoints in your properties file : Flowable Work Properties | Flowable Enterprise Documentation (endpoints).
use expression: ${environment.getProperty('envVarName')}