Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
DocumentExtractionDef
Parent Type
This type extends the Metadata metadata type and inherits its fullName field.
File Suffix and Directory Location
DocumentExtractionDef values are stored in the developer_name.documentExtractionDef file in the documentExtractionDefs directory.
Version
DocumentExtractionDef is available in API version 66.0 and later.
Fields
| Field Name | Description |
|---|---|
| batchProcessingStartTime |
|
| batchUser |
|
| description |
|
| documentExtractionDefVer |
|
| documentExtrctDefProcFldr |
|
| isActive |
|
| isReviewRequired |
|
| label |
|
| status |
|
| type |
|
DocumentExtractionDefVer
| Field Name | Description |
|---|---|
| confidenceThreshold |
|
| contextMappingConfig |
|
| description |
|
| documentExtractionDefStep |
|
| isActive |
|
| largeLanguageModel |
|
| llmInputPrompt |
|
| versionNumber |
|
DocumentExtractionDefStep
| Field Name | Description |
|---|---|
| executionProcessReference |
|
| stepNumber |
|
| stepType |
|
DocumentExtrctDefProcFldr
| Field Name | Description |
|---|---|
| folderPath |
|
| folderType |
|
| lastProcessedTime |
|
Declarative Metadata Sample Definition
The following is an example of a DocumentExtractionDef component.
1<DocumentExtractionDef xmlns="http://soap.sforce.com/2006/04/metadata">
2 <label>Standard Invoice Extraction</label>
3 <isActive>true</isActive>
4</DocumentExtractionDef>The following is an example package.xml that references the previous definition.
1<Package xmlns="http://soap.sforce.com/2006/04/metadata">
2 <types>
3 <members>*</members>
4 <name>DocumentExtractionDef</name>
5 </types>
6 <version>66.0</version>
7</Package>