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

# On Return From Task

> On Return From Task fires when processing of the current FlexiCapture task finishes after confirmation of changes, with the task window as context.

## When it is launched

The script is launched when processing the current task is finished after confirmation of changes.

## Parameters

| **Name** | **Type**                                                         | **Access** | **Description** |
| -------- | ---------------------------------------------------------------- | ---------- | --------------- |
| Context  | [ITaskWindow](/flexi-capture/appendix/scripts-shell/itaskwindow) | Read/write | The task window |
