Hi, I have a custom business logic which is supposed to be triggered after an insert operation in a given table. After insert, it checks is the just added record has a filed with a specific value and, in that, case updates the user.
It works perfectly in when the script in in debug mode, but it does not work when it is in production.
I know that there is a 5 seconds executions limits, but I think it’s not possible that a record read and update takes more than that
You should be able to find them in Log Management section, but I see there are no entries there. Have you tried redeploying the handler? Also, do other handlers execute as expected?
the handler actually is invoked, but is not fully executed. It should send an email, and eventually update the user object. But it just sends the email.
I don’t know what you mean for the log that should be present in log managment, what does it mean?
Hi, I am using this Backendless.Logging.setLogReportingPolicy(0, 1); to write immediately the logs for a fast debugging, but the logs take time to appear, what am I doing wrong?
How much time? The process is never real-time, “write immediately” means that the task to write the logs is launched immediately, but it’s still asynchronous.