Refresh from expression rule

Certified Senior Developer

Hi Everyone,

I am quering the data from table and stroing it into local variable. On button click I am refreshing the data using refresh varibale parameter refreshonvariablechange , but the variable gets changed and data is not refreshing. Could you please help me out?

  Discussion posts and replies are publicly visible

Parents Reply
  • 0
    Certified Lead Developer
    in reply to shubhamy0005

    I actually just answered this exact same thing for someone else several days ago.  Basically you should pass in your Refresh Counter Variable to your expression rule and use it there with "refreshOnVarChange".  You shouldn't set "refreshAlways" in a query like this AFAIK, because if it works it'll cause the query to re-run every single time the user touches anything in the parent interface (i'm unclear whether it's not working for you or whether it's just working so fast you don't notice, but either way...)

    Detailed instructions can be found in my comment over here: community.appian.com/.../106000

Children