Configure quote document generation
The Generate PDF Document feature generates a PDF document of the current quote based on the selected template. After the document is generated, it is available in the Attachments section of the Contextual Side Panel (CSP). To enable this feature, an administrator configures a custom integration and a custom event that initiate the document generation process.
Before you begin
Role required: admin
Before you configure the document generation feature, complete the following instance setup:
- Activate the Quote Experience plugin (App ID: sn_quote_mgmt_adv).
- Submit a support ticket requesting to enable the Document Generation tenant setting.
- When the tenant setting is enabled, export and import the transaction blueprint.
You must also create a document template before you configure this feature. Document templates are created and managed outside ServiceNow CPQ Administration. For instructions, see Configure quote PDF documents.
About this task
The document generation feature uses the following system fields to determine the template and signers for the generated document.
| Type | Display name | Variable name |
|---|---|---|
| Field | Document Template | txn.docGen.template |
| Field | Document External Signer | txn.docGen.externalSigner |
| Field | Document Internal Signer | txn.docGen.internalSigner |
To configure the feature, update the system fields, create a custom integration and a custom event in the blueprint, and then deploy the blueprint. Complete the following phases in order.
Procedure
Result
When a user selects the generate-document button on a quote, the integration generates a PDF document from the selected template and attaches it to the quote. The document is available in the Attachments section of the Contextual Side Panel (CSP).