PDFs are normally generated automatically when a document is completed. If the rendering service was briefly unavailable, the org's endpoint configuration was wrong, or a record was data-loaded without its PDF, the tracking record will exist without a finished PDF file. You do not need to ask the recipient to redo anything, you can regenerate the PDF from the existing record.
Before regenerating, confirm configuration is correct: the PDF Service and PDF Gen Base URL fields in General Settings must be set, and the destination host must be reachable (remote site setting or Named Credential in place). See General settings and org configuration.
Version 9.0.0 adds a dedicated PDF regeneration app. Its record page panel and bulk tab show PDF status, convert documents created before the native PDF engine into the new artifact format, and regenerate PDFs individually or in bulk by timeframe. Bulk runs automatically skip records whose PDF Content Version Id is already populated. Prefer this app over the flows below when working through a backlog or adopting the native PDF engine.
Each generating record type ships a one-click action on its record page:
| Record | Action button | What it does |
|---|---|---|
Document Trace (Document_Trace__c) |
Re-generate PDF | Re-renders the completed Templates document and saves a fresh PDF against the trace. |
Submission Request (Submission_Request__c) |
Re-generate PDF | Re-renders the Sign submission and saves a fresh signed PDF. |
Redline Request (Redline_Request__c) |
Regenerate | Re-renders the finalized redlined contract and saves a fresh PDF. |
Open the record, click the action, choose page options if prompted (page format A4 or Letter, orientation, scale), and run it. The action reports success or the error it hit.
Each button runs a screen flow (X3B_CLM_Re_Generate_Trace_PDF, X3B_CLM_Re_Generate_Submission_PDF, X3B_CLM_Re_Generate_Redlining_PDF) that calls the rendering service and stores the result.
From version 10.11.0, standard regeneration uses Document.pdf for Sign as well as Templates and Redlining. When an existing PDF is referenced and still linked to the record, regeneration can add a new version of that same file across engine changes. Check File name and versioning for external title alignment, duplicate-file exceptions and preserving signed evidence.
For a backlog of Document Traces missing PDFs, use the auto-launched flow 3B Docs - Generate PDFs for Document Traces (X3B_Docs_Generate_PDFs_for_Document_Traces). Trigger it from a scheduled flow, a list-view action, or manually against a set of trace records. It walks the traces whose parent template requires a saved PDF and generates each one.
All paths call the same invocable Apex action, APIPdfService (surfaced in Flow as Generate PDF for Record). Its inputs are:
| Input | Meaning |
|---|---|
recordId |
The tracking record to attach the PDF to. |
documentURL |
The read-only preview page URL that the rendering service loads and captures. |
pageFormat |
A4 or Letter. |
isPageLandscape |
Orientation. |
pageScale |
Render scale. |
Because it is invocable, you can also call it from your own flow or automation if you need custom regeneration logic (for example, regenerating on a schedule, or in response to a record update). Point documentURL at the record's read-only preview page and pass the tracking recordId.
Log_Entry__c) for the error captured during the run.