Envelope keys when no document repository is used If the documents are defined by a document trigger, you can use any variable defined in the Project, for example the document trigger variable, as envelope key. Prerequisites Enveloping must be enabled. See To enable document sorting and bundling. To define an envelope key 1 Open the Runtime Output Connector Settings dialog box (generic layer). 2 Click the Job End icon and select the Enveloping tab. 3 Click . The Add Envelope Key dialog box opens. 4 Configure the envelope key: – Key – the variable to use as envelope key. – Type – Numeric or String. Must correspond to the key variable value. – Sort order – Ascending or Descending. 5 Click OK.