Skip to content

Class: metadata

Definition of the lifecycle of an Object.

Object lifecycles are sequences of states (In Review, Approved, etc.) that an object record can go through during its life. Learn about Object Lifecycles.

AttributeMetadataDescription
state_labelsType: String
Max length: 255
Multi-value
Lists lifecycle state labels (by name) defined for this lifecycle. The order defined here must correspond to the order in labeled_states. Deprecated - replaced by Lifecyclestatetypeassociation.
labeled_statesType: Component
Multi-value
Lists “special states” (by name). The order of the state in this list dictates which state from state_labels is assigned to the specific special state. Deprecated - replaced by Lifecyclestatetypeassociation.
labelType: String
Required
Max length: 40
UI-friendly string in the Vault's base language.
activeType: Boolean
Required
Indicates whether the component is active.
starting_stateType: ComponentThe name of the starting state of an object lifecycle.
descriptionType: String
Max length: 255
Additional information to describe the lifecycle.

Definition of the lifecycle of an Object.

AttributeMetadataDescription
labelType: String
Required
Max length: 40
UI-friendly string in the Vault's base language.
activeType: Boolean
Required
Indicates whether the component is active.
record_inactiveType: BooleanDeprecated - replaced by record_status
record_statusType: Enum
Allowed values:
  • active__v
  • inactive__v
  • in_migration__v
  • archived__v
Indicates the status of a record while in this state.
descriptionType: String
Max length: 255
Additional information to describe the lifecycle.
cancel_stateType: ComponentIndicates the state records enter when their object workflow is cancelled.
skip_cancel_stateType: BooleanIf set to true, records stay in their current state when their workflow is cancelled. If set to false or omitted, records enter the state defined by cancel_state when the workflow is cancelled.
skip_entry_actions_cancel_stateType: BooleanIf set to true, Vault does not execute entry actions when the workflow is cancelled. If set to false or omitted, entry actions execute as usual.

Objectlifecyclestateentrycriterion

Section link for Objectlifecyclestateentrycriterion

Definition of the lifecycle of an Object.

AttributeMetadataDescription
ruleType: XMLString
Required
Max length: 32000
The defined rules and conditions for entry criteria, entry actions, or user actions.
orderType: NumberThe relative order in which the action displays. For example, order 1 will display before order 2.

Definition of the lifecycle of an Object.

AttributeMetadataDescription
ruleType: XMLString
Required
Max length: 32000
The defined rules and conditions for entry criteria, entry actions, or user actions.
orderType: NumberThe relative order in which the action displays. For example, order 1 will display before order 2.

Definition of the lifecycle of an Object.

AttributeMetadataDescription
labelType: String
Required
Max length: 60
UI-friendly string in the Vault’s base language.
ruleType: XMLString
Required
Max length: 32000
The defined rules and conditions for entry criteria, entry actions, or user actions.
orderType: Number
Required
The relative order in which the action displays. For example, order 1 will display before order 2.
keyboard_shortcutType: String
Max length: 1500
Multi-value
A comma-separated list of keyboard event codes that users can press to execute the action. For example, Meta, Shift, KeyJ.

Definition of the lifecycle of an Object.

AttributeMetadataDescription
ruleType: XMLString
Required
Max length: 32000
The defined rules and conditions for entry criteria, entry actions, or user actions.
eventType: String
Required
Max length: 1500
The object lifecycle event. For example, create_record.
orderType: Number
Required
The relative order in which the action displays. For example, order 1 will display before order 2.

Definition of the lifecycle of an Object.

AttributeMetadataDescription
activeType: Boolean
Required
Indicates whether the component is active.
application_roleType: String
Required
Max length: 60
The name__v field value of the application_role__v record this role corresponds to. (Prefixed with Applicationrole.)
permissionsType: Enum
Multi-value
Allowed values:
  • Read
  • Edit
  • Delete
List of permissions assigned to the object role. Note that:
  • Read is always present
  • Edit is always present if Delete is present

Definition of the lifecycle of an Object.

AttributeMetadataDescription
statesType: Component
Required
Multi-value
Lists the object lifecycle states in which the permission applies.
roleType: Component
Required
The role to which this permission applies.
permissionType: Enum
Required
Allowed values:
  • Read
  • Edit
  • Delete
The permission to apply.
OperationSupport
Create*
Recreate*
Alter*
Drop
Rename
Describe
Generate Recreate
Queryable

Notes:

  • Create, Recreate, Alter: MDL Operation is supported, but the Component Type contains field(s) that use proprietary XML. Direct modification of the XML is not supported or recommended. Instead, creating and/or updating the component is better suited through the Admin UI.
  • Alter: MDL Operation may not be supported for some multi-value attributes.