Is there any option to define any variable at environment level? If yes, Can we use it in BR?
Yes, there is an option to add environment variables but we can’t use business rules on it.
Then what is the purpose of environment variable and how we can define it for vDesigner 2.0?
The purpose of the environment variable is to provide dynamic value, if you assign a constant value, it will assign that constant value to each environment.
In the “Environment” module, variables, which are also referred to as “Environment Variables”, allow the client application environment to access Vahana resources. After creating environment variables, you can export them to the client application environment.
Refer to the below link for full documentation:
https://academy.vahanacloud.com/deployment/configuring-environment-variable/
Right now Environment variables cannot be used within the application, Inly default variables are available that are consumed by default by the application like- Session timeout or multiple session enablement.
Dynamic use of environment variables will be available in Future releases.