Tidies up variables/token system to allow Objects.
Introduces sandboxed condition box for advanced conditions (using the core Node.js VM module, passing through only the arguments that were supplied and disabling the whole rule if the condition timeouts to stop infinite loop issues in bad code).
Puts in events for entity update, delete and create. (also removes spammy core log messages for these as they crowd up the logs and can be reintroduced in code and now with the triggers GUI).
Puts in an action for making HTTP REST requests through the triggers module. Along with automatic handling of GET, POST parameters through the GUI form (a basic clone of the sending part of Postman pretty much).
There's probably even more we can improve on it but this upgrades it into a very powerful system that could have lots of different uses.
I was going to create some "create an entity" etc events but those can come later. Interestingly you could also do this directly with the REST actions and our existing API.
Have a play and see what you think. It's non-core (extra module) so shouldn't bring in any breaking changes unless you have triggers already set up. Even then I think the API has kept the same so they should still work.
There's probably even more we can improve on it but this upgrades it into a very powerful system that could have lots of different uses.
I was going to create some "create an entity" etc events but those can come later. Interestingly you could also do this directly with the REST actions and our existing API.
Have a play and see what you think. It's non-core (extra module) so shouldn't bring in any breaking changes unless you have triggers already set up. Even then I think the API has kept the same so they should still work.