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.
Context is a global object that exposes transaction data to your Custom activity script, lets you send HTTP requests, log custom messages, and retrieve tenant secrets.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
| Transaction | Transaction | Read-only | The Transaction object, providing access to the current transaction and all its documents. |
| ErrorMessage | string | Read-write | Custom error message. The text appears in the Transaction Event Log in Skill Monitor. |
Deprecated properties
| Name | Type | Access | Description |
|---|---|---|---|
| InputData | Transaction.Documents | Read-only | Document data during skill execution. |
| OutputData | Transaction.Documents | Read-only | Modified document data. Not available for External Export. |
Methods
CreateMultipartFormDataRequest
MultipartFormDataRequest object for sending data as a form containing strings and files (multipart/form-data).
CreateHttpRequest
HttpRequest object for sending a string, file, source image, or a simple URL-form-encoded form. This form cannot contain files.
LogMessage
GetSecret
If the variable name contains reserved characters (
" or ,), escape them with a backslash in the method call. Only users with the Tenant Administrator role can create, edit, or delete environment variables. For details, see Manage environment variables.Related topics
Custom activity
Extend skills with scripted logic and third-party integrations.
Object model
Full JavaScript object reference for Custom activity scripts.
Transaction
The current transaction and access to all of its documents.
Manage environment variables
Store tenant-level secrets passed to Custom and Output activities.
Sample scripts
JavaScript samples for common Custom activity scenarios.
