Skip to content

Class: metadata

An Action Trigger allows you to create and execute custom business logic when a create, update, or delete record operation occurs on an object record. Learn more about Action Triggers in Vault Help.

Learn more about Action Triggers in Vault Help.

AttributeMetadataDescription
labelType: String
Max length: 60
UI-friendly string in the Vault’s base language.
activeType: BooleanIndicates whether this Action Trigger is active. When true, this Action Trigger is on and actively running. When false, this Action Trigger is off and is not running.
descriptionType: String
Max length: 500
A description of this Action Trigger, displayed to Admins in the Vault UI.
objectType: Component
Required
The object where this Action Trigger is configured. Reference to the Object component.
eventType: Enum
Required
Allowed values:
  • BEFORE_INSERT
  • BEFORE_UPDATE
  • BEFORE_DELETE
  • AFTER_INSERT
  • AFTER_UPDATE
  • AFTER_DELETE
The event where this Action Trigger executes. Learn more about Action Trigger events in Vault Help.
orderType: NumberThe order this Action Trigger executes. If omitted, default order is the end of the order list, meaning this trigger executes last in the order. Order must be unique per object and event.

An Action Trigger allows you to create and execute custom business logic when a create, update, or delete record operation occurs on an object record. Learn more about Action Triggers in Vault Help.

AttributeMetadataDescription
labelType: String
Max length: 60
UI-friendly string in the Vault’s base language.
activeType: BooleanIndicates whether this Action Block is active.
descriptionType: String
Max length: 500
A description of this Action Block, displayed to Admins in the Vault UI.
orderType: Number
Required
The order this Action Block executes. If omitted, default order is the end of the order list, meaning this executes last in the order. Must be unique across all Action Blocks.
codeType: ActionScript
Max length: 1048576
The logic for this Action Block. This is the code which executes when the Action Trigger runs. Must be enclosed in <ActionScript> tags.

An Action Trigger allows you to create and execute custom business logic when a create, update, or delete record operation occurs on an object record. Learn more about Action Triggers in Vault Help.

AttributeMetadataDescription
labelType: String
Max length: 60
UI-friendly string in the Vault’s base language.
activeType: BooleanIndicates whether this Draft Action Block is active.
descriptionType: String
Max length: 500
A description of this Draft Action Block, displayed to Admins in the Vault UI.
orderType: Number
Required
The order this Draft Action Block executes. If omitted, default order is the end of the order list, meaning this executes last in the order. Must be unique across all Draft Action Blocks.
codeType: ActionScript
Max length: 1048576
The logic for this Draft Action Block to display in the editor UI. Must be enclosed in <ActionScript> tags.
OperationSupport
Create
Recreate
Alter
Drop
Rename
Describe
Generate Recreate
Queryable