Skip to main content
alphar0001
November 24, 2021
Solved

Appian function to get Server's primary locale ?

  • November 24, 2021
  • 1 reply
  • 0 views

Hi ,

      Is there an Appian function to retrieve Severs' primary locale ? I am looking for something like userlocale() , but specific to server not user. I know this can be be achieved in plugin/java. But I am looking Appian function. Ideally , I am looking for a function which can return highlighted settings in admin console as shown in the screenshot

The usecase is a process model scheduled to run as batch which is developed by a single country but runs in different countries with its own servers. I am looking to dynamically disable or enable this PM , by setting up an expression or condition in the start timer.

    Best answer by mikes0011

    I expect your best bet will be to have an environment-specific constant containing the data you want each environment to have.  It's a small pain to set up in the first place but then very easy to maintain once it's deployed to the required environments.

    1 reply

    mikes0011
    mikes0011Answer
    Brainy
    November 24, 2021

    I expect your best bet will be to have an environment-specific constant containing the data you want each environment to have.  It's a small pain to set up in the first place but then very easy to maintain once it's deployed to the required environments.

    The Expression Guru