* backend for triggering automation based on filters
* frontend for handling triggering automations on filter / old row
* lint and bug fix
* fix issue with test header
* make test data optional
* improve safety on trigger gate
* add support for running trigger with filter if no change happened but filter matches
* update var naming to actually make sense
* tests
* fix lint
* improve gating for shouldTrigger check
* remove unecessary cast
* unecessary tableId check
* frontend text updates
* resolving comments
* pro
* Update packages/types/src/documents/app/automation.ts
Co-authored-by: Sam Rose <hello@samwho.dev>
* link out to docs for trigger filtering
* fix pro
* more pr comments
* use getAppId
---------
Co-authored-by: Sam Rose <hello@samwho.dev>
* fix issue where booleans were being parsed to null
* refactor looping out of automations
* clean out execute function in orchestrator of looping code
* re-add accidentally deleted file
* remove spec file
* remove log
* move code back into main automation thread
* account portal update
---------
Co-authored-by: Adria Navarro <adria@budibase.com>
Co-authored-by: Michael Drury <me@michaeldrury.co.uk>
Co-authored-by: Sam Rose <hello@samwho.dev>
* expose old row through the emitter
* accidentally added oldRow to step
* fix row fetch in external datasources
* add test for new / old row comparison
* add testing for old row update event
* allow function overloading in test files
* update tests per comments
* handle event race condition
* update test data modal to account for old row output
* switch icon positioning
* Add GET tenant info endpoint
* Add GET global tenant to endpoint list.
* Use correct not found code
* Fix unit test
* Code review comments
* Ignore account portal check types
* remove account-portal-ui from type check ignore
* Remove ignore account-portal-ui from type check