> ## 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.

# User script (custom action)

> User scripts (custom actions) in ABBYY FlexiCapture run when an operator triggers them on a field during verification or in the document editor.

## What it does

This is a custom scripting rule triggered by the user when viewing a field during field verification or in the document editor.

The script is configured on the Custom Action tab of the field properties dialog box.

## Parameters

| **Name** | **Type**                                                     | **Access**                     | **Description**         |
| -------- | ------------------------------------------------------------ | ------------------------------ | ----------------------- |
| Context  | [IRuleContext](/flexi-capture/appendix/scripts/irulecontext) | According to the rule settings | The context of the rule |

If classes and methods of an [external assembly](/flexi-capture/appendix/scripts/user-assembly) are used in the script, the assembly file must be attached on the .NET References  tab of the  *(Developer)* Document Definition properties. *(Administrator)* [Document Definition properties](/flexi-capture/templates/template-properties).

## (Administrator) See also:

*(Administrator)*  [User Script](/flexi-capture/templates/properties-custom-action)
