Skip to main content
Inspiring
Nov 16, 2021 6:33 AM UTC
Question

how to refresh data?

I keep using a!refreshvariable but never work, I want it keep read the renewal data from database?

    2 replies

    Participating Frequently
    Nov 16, 2021 6:45 AM UTC

    Hi,

    The a!refreshvariable() has to be used within the  a!localVariables() and only if it used inside the Interface the refreshing property will work but outside the Interface all the refreshing property will not work.

    The are multiple refreshing conditions that can be used in this function, please refer the below link to Appian Docs,

    https://docs.appian.com/suite/help/21.4/Local_Variables.html#configuring-refresh-behavior

    arpitb0001
    New Participant
    Nov 16, 2021 6:54 AM UTC

    The configuration should be within a!localVariables(). When used within an interface, the value of the variable can be refreshed under a variety of conditions. When used outside of an interface, all refresh properties are ignored.

     

    And if you want to renew the data, then you can try property of a!refreshvariable ie refreshOnVarChange so that data can be refreshed on the basis of variable change