What way should be used to pass some variable from beforeUpdate handler to afterUpdate handler (for the same table record update action) for already deployed javascript servercode?
This approaches dont make any effect in this mode:
global.my_variable = someobj;
or
Backendless.Cache.put( "my_variable", someObject, 20).then(() => {}) // in beforeUpdate
Backendless.Cache.get( "my_variable").then(itemCashResult => {}) // in afterUpdate
But both work in debug mode (cause of local environment). I was forced to make some custom Cache data table to use some variable passing, but it is not the best performance solution. I’d like to make it in correct way if such exist.
Thank You!