Skip to content

Triggers

Alexander van Delft edited this page Jul 16, 2021 · 7 revisions

Triggers

Default:

[ThingName]_apply_revision

Executes SiteDirectory.revision_management, which

[ThingName]_audit_prepare

Executes SiteDirectory.process_timetravel_before, which sets the ValidFrom and ValidTo to the correct values on the newly to be created entry in the normal / cross table and the [ThingName]_Audit table.

[ThingName]_audit_log

Executes SiteDirectory.process_timetravel_after, which takes care of creating an entry in the [ThingName]_Audit table.

[ThingName]_thing_delete_trigger

Executes Trigger Function delete_thing_record() that deletes the specific Thing's counterpart in the Thing table.

Custom:

Iteration_[EngineeringModel.Iid].ActualFiniteState_PossibleState.actualfinitestate_possiblestate_cleanup

Executes Iteration_[EngineeringModel.Iid].actualfinitestate_cleanup() that is responsible for deleting the related ActualFiniteState from the Thing table.

Clone this wiki locally