I have API which returns me some responses based on parameters but the important point is when my database has any change then my Appian local variable which has API data also needs to get updated automatically, which means simply a WebSocket type connection with an API
Discussion posts and replies are publicly visible
If I am thinking in write direction I think you are trying to make web based application but issue is that that create lot of slowness
Yes, Exactly i Have an API that gives me data of other Env. but I want that as data gets changed In that env. then my Appian Interface should Update.
for that you schedule your process in such a way being is sync with outside env so that once external env has done it changes than you process should start make changes in Ui or if you want user interference in that than you should update data only once your eternal env has made changes.