Skip to main content
Known Participant
Jul 4, 2022 3:21 PM UTC
Question

How to make static varaible in Appian

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
    Jul 4, 2022 3:26 PM UTC

    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

    Known Participant
    Jul 4, 2022 10:46 PM UTC

    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.