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
Hello shubhamy0005,
Try using the below format for your refresh variable
a!localVariables( local!batchsize:5, local!refreshcomments, local!comments: a!refreshVariable( value: rule!JA_QE_GetComments( pagingInfo: a!pagingInfo( 1, local!batchsize, a!sortInfo(field: "your ID", ascending: false()) ), feedId: "Your Data Id" ), refreshOnVarChange: local!refreshcomments ), {} )
replace values as per your requirement/data (Query expression)
also follow this link for more information
docs.appian.com/.../Local_Variables.html
HI Kondoru, I use same format but data from expression rule does not refresh.