Skip to content

Class: code

Record role triggers execute custom code whenever roles are directly (manually) added or removed from an object record.

AttributeMetadataDescription
labelType: String
Max length: 60
UI-friendly string in the Vault's base language.
activeType: BooleanIndicates whether the component is active.
checksumType: String
Max length: 1500
Used to check data for errors.
event_segmentType: Enum
Allowed values:
  • PRE_CUSTOM
  • POST_CUSTOM
  • UNSPECIFIED
For internal Veeva use only. This Enum is used for a variety of features in Vault. Contains valid values for specifying eventSegment.
eventsType: Enum
Multi-value
Allowed values:
  • BEFORE
  • AFTER
The Events specifying when this record role trigger executes. For example, BEFORE means the trigger executes right before the record role assignment.
objectType: Component
Required
The object this record role trigger is associated to, for example, product__v.
orderType: Enum
Allowed values:
  • NUMBER_1
  • NUMBER_2
  • NUMBER_3
  • NUMBER_4
  • NUMBER_5
  • NUMBER_6
  • NUMBER_7
  • NUMBER_8
  • NUMBER_9
  • NUMBER_10
  • UNSPECIFIED
If multiple triggers exist on the same object, this specifies the order this record role trigger will execute. Order 1 executes first and Order 10 executes last. UNSPECIFIED means this trigger will always execute last.
source_codeType: SdkCode
Max length: 1048576
The source of this record role trigger and code used to create and edit metadata. Custom means this record role trigger was developed with the Vault Java SDK.
OperationSupport
Create
Recreate
Alter
Drop
Rename
Describe
Generate Recreate
Queryable