Support Topics Documentation Slack YouTube Blog

Push notification by event handler

Are you looking for help?

This is a support forum for reporting issues related to Backendless services. Please note that due to our support policy we cannot provide you help with debugging your code, consulting in regards to any language or third-party library usage. For this kind of questions we recommend using more appropriate forums like Stack Overflow.

In order to suggest you a quality solution, we shall usually ask you to provide the details mentioned below first. Including them into your topic right away helps us to start investigating your issue much faster.

In case you have a suggestion or an idea, the details below are not always required, though still any additional background is welcome.

Backendless Version (3.x / 5.x, Online / Managed / Pro )

we use V 5.x

Client SDK (REST / Android / Objective-C / Swift / JS )

Android

Application ID

43B8A63C-CC25-BE19-FFD0-A47A21B9BC00

Expected Behavior

Please describe the expected behavior of the issue, starting from the first action.

we want to send a push-notification to a specific channel when an attribute change to true in DB.

  1. we simulate an event on data API, after update conditions. and we do programming by codeless.

Actual Behavior

Please provide a description of what actually happens, working from the same starting point.

Be descriptive: “it doesn’t work” does not describe what the behavior actually is – instead, say “the request returns a 400 error with message XXX”. Copy and paste your logs, and include any URLs.

after making the event manually from the console, not from the app and nothing happened no message published in the channel.
3.we checked all thing several times like channel name or …

Reproducible Test Case

Make an event on an update of an attribute which sends a push notification. change the attribute from the console.

Hi mohammad

Do you mean you change some records through Data Browser in Backendless Dev Console and your BL Event Handler doesn’t work,
but it works when you change the record through api/sdk, right?

Regards, Vlad

yes exactly when we update table by data browser BL Event handler does not send push notification

BL EventHandler will run only when you change data through API, not from Console

1 Like

but maybe we need this feature for test cases. maybe for next update you are able to take it on plan.
a few month ago we use this feature and it was possible to send push notification by this method.

Not sure, we never support this feature, if you change value from DataBrowser BL Event handlers will not be running

If you would like, you can use our REST Console for changing object, in this case your BL Handler will be running and as result you should receive your Push Notifications

1 Like