Skip to main content
April 24, 2023
Question

What is Environmental Constant

  • April 24, 2023
  • 4 replies
  • 1 view

What is Environmental Constant ?

    4 replies

    harshitb6843
    April 24, 2023

    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. 

    vijayg1506
    October 6, 2023

    @harshitb6843 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.

    stefanhelzle0001
    Brainy
    October 6, 2023

    https://docs.appian.com/suite/help/23.3/Constants.html#properties

    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.