What is Environmental Constant ?
Discussion posts and replies are publicly visible
Environmental constants are constants that have an environment-specific value. When you deploy such constants, you have to change their value in a properties file.
Used for use cases like storing - Site URLs, API keys, credentials of a third-party service, etc.
@Harshit Bumb So this can be changed as property only at the time of deployment. After deployment if I want to change this, then again I need to give the deployment or is there any configuration section in appian where I can change the value of this.
When enabled, the constant's value is not updated on import unless set via an import customization file. This is to prevent unintentional changes to an environment's value for this constant.
Set constants to environment specific when their values are different based on the environment they are on so that their values can be preconfigured and won't need to be manually updated after an import, for example, a web service endpoint.
"After deployment, if I want to change this, then again I need to give the deployment." No don't need a screen or a re-deployment, we can change its value as same as we do for the regular Constant value change. We are not sure about your use case. But the purpose of having an environmental constant is To prevent unintentional changes to an environment's value as mentioned by Stefan Helzle.
© 2024 Appian. All rights reserved.