Skip to main content
July 4, 2022
Question

How to make static varaible in Appian

  • July 4, 2022
  • 2 replies
  • 0 views

Hi All, Is it possible to make a variable static in appian just like java. So that it retains its value.

    2 replies

    stefanhelzle0001
    Brainy
    July 4, 2022

    You can create constants in Appian. I think this would be the best matching substitute.

    When coming from Java, be aware that Appian expressions is a functional programming language and you might have to adjust your way of problem solving a bit.

    docs.appian.com/.../Expressions.html

    July 4, 2022

    I dont think thats possible, the only way to do something similar is restrict down to one group the security for the constant, but that is very risky and does not follow the best practices.