---
schema_version: "1"
id: d6267b76deb6b0b8042cdce2226a14c3e58a7f49b883e17c2b38c30de4bb1303
title: DocProcDefinitionVer
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/api_tooling/tooling_api_objects_docprocdefinitionver.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/tooling_api_objects_docprocdefinitionver.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 1624531c1bcebbd46936811b65e260922b292be9dcf8184d791e3f79fd700f2c
description: Represents an immutable version of an Intelligent Document Processing (IDP) definition (DocProcDefinition). Multiple versions of the same definition can be active at the same time. A version is identified by its parent definition and VersionNumber. This object is available in API version 68.0 and later.
---
# DocProcDefinitionVer

Represents an immutable version of an Intelligent Document Processing (IDP) definition (DocProcDefinition). Multiple versions of the same definition can be active at the same time. A version is identified by its parent definition and VersionNumber. This object is available in API version 68.0 and later.

## Supported Calls

create(), delete(), describeSObjects(), query(), retrieve(), update()

## Special Access Rules

This object is available only if your org has one of these:

- The FlowDocumentProcessing platform license
- The FlowDocumentProcessingAddOn add-on license

## Fields

| Field | Details |
| --- | --- |
| DocProcDefinitionId | 
Type

reference

Properties

Create, Filter, Group, Sort

Description

The parent document processing definition that owns this version.

This field is a relationship field.

Relationship Name

DocProcDefinition

Relationship Type

Master-detail

Refers To

DocProcDefinition (the master object)



 |
| ExternalServiceRegistrationId | 

Type

reference

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

The External Service Registration that backs this definition version.

This field is a relationship field.

Relationship Name

ExternalServiceRegistration

Refers To

ExternalServiceRegistration



 |
| Metadata | 

Type

textarea

Properties

Create, Nillable, Update

Description

A map of custom key-value pairs serialized as JSON.



 |
| MlModelName | 

Type

string

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

The IDP model identifier used for this version. Maps to an LLM Gateway model through the supported-models mapping.



 |
| SchemaDefinition | 

Type

textarea

Properties

Create, Nillable, Update

Description

The schema definition in JSON format.



 |
| Status | 

Type

picklist

Properties

Create, Filter, Group, Restricted picklist, Sort, Update

Description

The lifecycle status of the version: draft, active, or inactive.

Possible values are:

- Active
- Draft
- Inactive





 |
| VersionNumber | 

Type

int

Properties

Create, Filter, Group, Sort, Update

Description

The version number, unique within a definition.



 |