tbl_stage_trigger

23 rows


Columns

Column Type Size Nulls Auto Default Children Parents Comments
id bigserial 19 nextval('tbl_stage_trigger_id_seq'::regclass)
tbl_stage_trigger_action.failid fkcjorgrjn0ntyg8xgoigijjepg R
tbl_stage_trigger_action.successid fknnossp3hywub4wrty44i1sb9b R

Primary key
Format: Integer (auto-increment)
Used as: Unique identifier for a single workflow trigger rule.

createdby varchar 50 null

FK: public.tbl_userlogin.id or similar (Presumed Foreign Key)
Meaning: The user who defined and created this automation trigger.

createddate timestamp 29,6 null

Timestamp of when the trigger rule was created.
Stored as: UTC
UI: Converts to user’s local timezone
Format: YYYY-MM-DDTHH:MM:SSZ

modifiedby varchar 50 null

FK: public.tbl_userlogin.id or similar (Presumed Foreign Key)
Meaning: The last user who modified this trigger rule.

modifieddate timestamp 29,6 null

Timestamp of when the trigger rule was last modified.
Stored as: UTC
UI: Converts to user’s local timezone
Format: YYYY-MM-DDTHH:MM:SSZ

criteria varchar 255 null

The conditional expression that must be met to execute the trigger.
Format: Text (e.g., JSON or logical string)
Example: {"column": "salary", "operator": ">", "value": 50000}

type int4 10 null

The type of action the trigger performs when activated.
Format: Varchar/Text or lookup key
Example: Send_Email, Move_to_Next_Stage, Update_Field, Execute_Script.

value varchar 255 null

The value or parameter associated with the trigger action.
Format: Text or Varchar
Example: The email template ID to send, or the ID of the next stage to move to.

stageid int8 19 null
tbl_stage.id fk9u5f7egdxmq9loy34jb8wew8x R

FK: public.tbl_stage.id (Presumed Foreign Key)
Meaning: The workflow stage where this trigger is configured to check for criteria.
Dependency: The trigger evaluates when the record enters or leaves this specific stage.

Indexes

Constraint Name Type Sort Column(s)
tbl_stage_trigger_pk__tbl_stag__3213e83f55761342 Primary key Asc id

Relationships