Documenttypetrigger
Class: code
Doctype triggers execute Vault Java SDK code when a document or document version is created, updated, or deleted.
Learn more about Doctype Triggers.
| Attribute | Metadata | Description |
|---|---|---|
label | Type: String Max length: 60 | UI-friendly string in the Vault's base language. |
active | Type: Boolean | Indicates whether the component is active. |
checksum | Type: String Max length: 1500 | Used to check data for errors. |
document_type | Type: Component Required | Reference to a Doctype component. If set to the Base document type, this trigger will fire for all documents. |
event_segment | Type: Enum Allowed values:
| For internal Veeva use only. |
events | Type: Enum Multi-value Allowed values:
| Specifies the type of data change that causes this trigger fire. Learn more about Doctype Trigger Events. |
level | Type: Enum Allowed values:
| Determine if a trigger fires when data operations occur at the document version level or the document level. Learn more about Doctype Trigger Event Levels. |
order | Type: Enum Allowed values:
| The order in which to fire the trigger. If not specified, the order is equivalent to NUMBER_10. |
source_code | Type: SdkCode Max length: 1048576 | The Vault Java SDK source code for the trigger. |
Supported Operations
Section link for Supported Operations| Operation | Support |
|---|---|
| Create | |
| Recreate | |
| Alter | |
| Drop | |
| Rename | |
| Describe | |
| Generate Recreate | |
| Queryable |