Variable not getting refreshed inside a!refreshVariable

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?

  Discussion posts and replies are publicly visible

Parents Reply
  • I have tried without using local variables like the following, yet the value is not getting refreshed:

    a!refreshVariable(
    value: cast(
    typeof(
    {
    'type!{urn:com:appian:types:NGS}NGS_merGeneration'()
    }
    ),
    a!queryEntity(
    entity: cons!NGS_DSE_MER_GENERATION,
    query: a!query(
    pagingInfo: a!pagingInfo(startIndex: 1, batchSize: - 1)
    ),
    fetchTotalCount: true
    ).data
    )
    refreshAlways: 0.5
    )

Children