Is there anyway can we show all the currently logged in users in the interface
Discussion posts and replies are publicly visible
I needed something similar and created a constant for all users, then used an expression rule with a!forEach. There may be an easier way but this worked for what I needed.
a!forEach( items:getdistinctusers(cons!GET_ALL_USERS_POINTER), expression: fv!item & ":" & user(fv!item,"firstName")& ":" & user(fv!item,"lastName")& ":" & user(fv!item,"email")& ":" & user(fv!item, "status"))
The question is how do you populate cons!GET_ALL_USERS_POINTER. if you are doing it manually there is no point, since it will be a static list. The ask is to dynamically retrieve all the logged-in users.
© 2023 Appian. All rights reserved.