BrainGrid Controller
Process Orchestrator
Trigger Types
Database Trigger

Database Trigger

The Database Trigger fires when a record is added, modified, deleted, or restored in a selected table or window. Use it to start a process automatically in response to data changes.

Create Database Trigger Configuration dialog

Configuration

FieldDescription
TitleA name for this trigger
DescriptionOptional notes about when this trigger fires
Trigger SignalPre Transaction fires before the change is saved; Post Transaction fires after the change is committed
Source TableStatic Table to watch a fixed system table, or Dynamic Table to select a specific window
ModeThe context to monitor is Window, which watches records through a window
MethodThe record operations that activate the trigger: Add, Modify, Delete, and/or Restore. Multiple methods can be selected
Select MenuThe menu containing the window to monitor
Select WindowsThe specific window whose records will be watched

Pre vs Post Transaction

Pre TransactionPost Transaction
When it firesBefore data is saved to the databaseAfter data is saved to the database
Common useValidate or block the operationSend notifications, update logs, trigger follow-up actions
On failureThe transaction is cancelled and data is not savedData is already saved; corrective actions may be needed