Skip to main content
March 7, 2024
Question

Variable not getting refreshed inside a!refreshVariable

  • March 7, 2024
  • 11 replies
  • 0 views

I am trying this piece of code but it is just executing while loading the interface and it is never getting refreshed after that.

local!refresh: a!refreshVariable(
value: rule!NGS_queryMerGenerationData(
executeWhen: true,
pagingInfo: a!pagingInfo(startIndex: 1, batchSize: - 1)
) ,
refreshInterval: 0.5
)

Can you please help regarding this?

    11 replies

    stefanhelzle0001
    Brainy
    March 7, 2024

    Does that expression use local variables? If yes, you need to add a refresh always inside that expression.

    March 7, 2024

    no, the expression doesn't use local variables.

    stefanhelzle0001
    Brainy
    March 7, 2024

    Can you share that code?