I want to show a message to user, and it should be disappeared after few second how can i do this
Discussion posts and replies are publicly visible
text message will disappear in few second
a!localVariables( local!timeFlag: second(now() + second() * 58), local!show: a!refreshVariable( value: second(now()) < local!timeFlag, refreshInterval: 1 ), { a!richTextDisplayField( value: "text will disappear in few seconds", showWhen: not(local!show),
),
})
To note, the refreshInterval setting of 1 equals 1 minute, which is how long the message will stay up in the example above. The current minimum time of a refresh as of Appian 22.4 is 0.5 (30 seconds).
a!refreshVariable