Support Topics Documentation Slack YouTube Blog

Event Handlers not working


(Alex) #1

Hi
I m trying to handle changes of value data table throught Rest API (PUT request) but Event Handler doesnt call any method like “beforeUpdate” , logs like System.out.println(“beforeUpdate”) and debugger breakpoints not calls also , just Waiting for events…

@Asset("User")
public class UserTableEventHandler extends com.backendless.servercode.extension.PersistenceExtender<User> {
 @Override
 public void beforeUpdate(RunnerContext context, User user) throws Exception {
 System.out.println("update ");
 }

(Oleg Vyalyh) #2

Hi, Alex.
What is your appId ?