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

# IStageInfo

> IStageInfo gives FlexiCapture scripts read-only details about a document's processing stage: stage ID and name, task ID, and the assigned principal.

## What it does

Stores information about a processing stage of the document.

## Properties

<table width="100%"><thead><tr><th style={{textAlign: 'left'}}><p><strong>Name</strong></p></th><th style={{textAlign: 'left'}}><p><strong>Type</strong></p></th><th style={{textAlign: 'left'}}><p><strong>Access</strong></p></th><th style={{textAlign: 'left'}}><p><strong>Description</strong></p></th></tr></thead><tbody><tr><td><p>PrincipalId</p></td><td><p>int</p></td><td><p>Read-only</p></td><td><p>The identifier of a user or a group which can receive a task with the given document.</p><p>"0" indicated that the task is not assigned to any principal (user or group).</p><p>For details, see <a href="/flexi-capture/appendix/scripts/iprincipal">IPrincipal</a>.</p></td></tr><tr><td><p>StageId</p></td><td><p>int</p></td><td><p>Read-only</p></td><td><p>The identifier of the current processing stage</p></td></tr><tr><td><p>StageName</p></td><td><p>string</p></td><td><p>Read-only</p></td><td><p>The name of the current processing stage</p></td></tr><tr><td><p>TaskId</p></td><td><p>int</p></td><td><p>Read-only</p></td><td><p>The identifier of the task. If there is no task, its value is "0".</p></td></tr></tbody></table>
