Script functions reference > Script functions in alphabetical order > I > IsFirstDocInEnvelope

IsFirstDocInEnvelope
Syntax
IsFirstDocInEnvelope();
Description
Checks if the current document is the first document in the envelope. The function can be used at the following post-processing scripting levels:
Before and after document, process and page.
Returns
1
0
Example
if(IsFirstDocInEnvelope())
{
    $ok=1;
}
OpenText StreamServe 5.6.2 Updated: 2018-01-26