I have inserted the following piece of code in order to show always the updated number of available tasks to the users.
=a!localVariables( local!report: a!refreshVariable( value: a!queryProcessAnalytics( report: cons!IOC_USER_TASK_REPORT, contextProcessModels: { cons!IOC_PROCESS_MODEL_NOTIFICATIONS }, query: a!query( pagingInfo: a!pagingInfo(startIndex: 1, batchSize: 1000), filter: a!queryFilter( field: "c1", operator: "<>", value: 2 ) ) ), refreshInterval: 0.5), "Workflows (" & length( local!report.data ) & ")")
=a!localVariables(
local!report: a!refreshVariable(
value: a!queryProcessAnalytics(
report: cons!IOC_USER_TASK_REPORT,
contextProcessModels: {
cons!IOC_PROCESS_MODEL_NOTIFICATIONS
},
query: a!query(
pagingInfo: a!pagingInfo(startIndex: 1, batchSize: 1000),
filter: a!queryFilter(
field: "c1",
operator: "<>",
value: 2
)
),
refreshInterval: 0.5
"Workflows (" & length(
local!report.data
) & ")"
Sadly enough, the automatic refreshing is not working at all. Is this an expected behavior or there is something wrong with this code?
I am running on Appian Cloud 19.2
Discussion posts and replies are publicly visible