Database notification
Hi, is there any way to get a notification when a new record is added via the DB rest service? My app should be for raising support requests and it would be good to be notified.
Catch up wih the Appery.io community on our forum. Here you'll find information on the lastest questions and issues Appery.io developers are discussing.
https://forum.appery.io/
Hi, is there any way to get a notification when a new record is added via the DB rest service? My app should be for raising support requests and it would be good to be notified.
Hello,
You can request to DB every minute and check if there was a new record, if so then you can send notification.
Thanks!! Would you be able to point me in the right direction to set this up?
The following references should be helpful:
http://docs.appery.io/documentation/r...
https://getsatisfaction.com/apperyio/...
http://docs.appery.io/documentation/r...
Logic can be something like this:
every minute you execute request service to DB, save last record ID value and date/time record value to local storage variable then compare record values with new value response.