DocumentCaptureTask.features
|
Property Description |
The features to extract from the document (such as fields, tables, or text). Use values from the documentCapture.Feature enum to set the value of this property. If you don't specify any features, the |
|
Type |
string[] |
|
Module |
|
|
Parent Object |
|
|
Sibling Object Members |
|
|
Since |
2025.2 |
Errors
|
Error Code |
Thrown If |
|---|---|
|
|
This property has values that are not included in the documentCapture.Feature enum. |
Syntax
The following code sample shows the syntax for this member. It is not a functional example. For a complete script example, see N/task Module Script Samples.
// Add additional code
...
var myDocCaptureTask = task.create({
taskType: task.TaskType.DOCUMENT_CAPTURE
});
myDocCaptureTask.features = [
documentCapture.Feature.FIELD_EXTRACTION,
documentCapture.Feature.TABLE_EXTRACTION
];
...
// Add additional code