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
  • rule!NGS_queryEntity(
    dataStoreEntity: cons!NGS_DSE_MER_GENERATION,
    returnType: {'type!{urn:com:appian:types:NGS}NGS_merGeneration'()},
    executeWhen: ri!executeWhen,
    queryLogicalExpression: a!queryLogicalExpression(
    operator: "AND",
    filters: {
    a!queryFilter(
    field: "merType",
    operator: "=",
    value: ri!merType
    ),
    a!queryFilter(
    field: "processStatus",
    operator: ">=",
    value: ri!processStatus
    )
    },
    ignoreFiltersWithEmptyValues: true
    ),
    pagingInfo: ri!pagingInfo,
    fetchTotalCount: true
    )

Children