Kieran Keene
Posts: 0
Joined: Sat Dec 21, 2013 6:09 pm

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.

Igor
Posts: 0
Joined: Tue Apr 02, 2013 12:05 pm

Database notification

Hello,

You can request to DB every minute and check if there was a new record, if so then you can send notification.

Kieran Keene
Posts: 0
Joined: Sat Dec 21, 2013 6:09 pm

Database notification

Thanks!! Would you be able to point me in the right direction to set this up?

Igor
Posts: 0
Joined: Tue Apr 02, 2013 12:05 pm

Database notification

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.

Return to “Issues”