Hi - Is there way push messages/data from Appian server to Specific Appian UI User automatically without user intervention? if yes please provide documentation / implementation
Is WebSocket programming available in Appian? if yes please provide documentation/implementation?
Thanks,
Sri
Discussion posts and replies are publicly visible
Hi Sri
You can use Appian Tasks to push messages to Users (Users can be notified of Task assignment by email and/or push - note: Appian Cloud only! - see https://docs.appian.com/suite/help/20.2/Notifications.html)
If you want messages pushed to Appian User Interfaces you could use the auto-refresh capability available in SAIL:
https://docs.appian.com/suite/help/20.2/Local_Variables.html#configuring-refresh-behavior
I presume the WebSocket question relates to the query about pushing notifications/data to Users?
This is for webpage. Correct me if I am wrong, thinking this is happening to every user who has opened Appian User Interface. My Requirement is Once received JSON message via API which is having logged-in user info too On Appian Server, That JSON message needs to be pushed to Specific User(logged-in user) appian user interface other users can't receive that message.
Stewart Burchell said:auto-refresh
I know above use case we can do that via web socket programming, but didn't see much documentation on web sockets in appian. Is Web socket programming supports in appian ? if yes please provide documentation.
It's a little hard to follow what you're after, but a JSON message could be sent to Appian which then writes it to a database, including the UserId of the User you want to send it to. When the User Interface auto-refreshes it could pick up that entry only for the loggedInUser() - so that only they see it and no-one else will - and you could then include in your User Interface a control called 'Acknowledge' that the User clicks on that then updates that entry in the DB so that it no longer will be dsiplayed to them. This is all achievable without any low-level coding.