> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# OutputData (deprecated)

> Deprecated OutputData interface used in Custom activity scripts to transfer modified document data (field values, new fields, deleted regions) back to Vantage.

<span style={{ color:"red" }}>
  This interface is deprecated. It will provide access only to the first document of the transaction.
</span>

Used to transfer document data that has been modified by a script, such as field values, new lines or fields, and deleted field regions. Once the script has finished running, the OutputData object is used to update document data.

## Methods

| Name                                           | Description                                                                                                                                                                                                                                                                                                                                  |
| :--------------------------------------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| GetExtractedData();                            | Returns the [Document](/vantage/documentation/skill-designer/process/custom-activity/document) object which contains data extracted using Extract activity.                                                                                                                                                                                  |
| SetExtractedData(ExtractedData extractedData); | Allows [Document](/vantage/documentation/skill-designer/process/custom-activity/document) objects modified by the script to be passed. ExtractedData obtained during script runtime is passed to the script using the [Transaction.Documents](/vantage/documentation/skill-designer/process/custom-activity/transaction#documents) property. |

## Related topics

<CardGroup cols={2}>
  <Card title="Transaction" icon="exchange" href="/vantage/documentation/skill-designer/process/custom-activity/transaction">
    Modern replacement — access all transaction documents, not just the first.
  </Card>

  <Card title="Document" icon="file-lines" href="/vantage/documentation/skill-designer/process/custom-activity/document">
    The document being processed by the Custom activity.
  </Card>

  <Card title="Extract activity" icon="database" href="/vantage/documentation/skill-designer/process/extract-activity">
    The Process activity that produces ExtractedData output.
  </Card>

  <Card title="Object model" icon="diagram-project" href="/vantage/documentation/skill-designer/process/custom-activity/object-model">
    Full JavaScript object reference for Custom activity scripts.
  </Card>
</CardGroup>
