---
title: "Create PDF Attachments Automatically When a Test Finishes in Quality Inspector"
app: "Quality Inspector"
section: "Set up"
last_updated: "2026-02-03"
url: "https://insight-works.com/kb/quality-inspector/create-pdf-attachments-automatically-when-a-test-finishes/"
---

# Create PDF Attachments Automatically When a Test Finishes in Quality Inspector

Note: This feature is only available for full versions, not the foundation or express versions. Note: This feature requires Business Central 26 SaaS at the minimum. Note: You can add attachments, such as a certificate of analysis, to a test automatically by following the instructions on the [_Copy Quality Inspection Attachments Automatically in Quality Inspector_](/kb/quality-inspector/copy-quality-inspection-attachments-automatically-in-quality-inspector/)page, or automatically when a test finishes by creating a workflow and following the instructions on the [_Create PDF Attachments Automatically When a Test Finishes in Quality Inspector_](/kb/quality-inspector/create-pdf-attachments-automatically-when-a-test-finishes/) page.

You can simplify the creation and attachment of PDFs of Certificates of Analysis and other Quality Inspection Reports by having PDFs automatically created with a test finishes. Complete the following to automatically create PDFs when a test finishes:

1. Navigate to _Workflows_ in Business Central.
2. Create a new Workflow, and give it a suitable:

   - Code
   - Description
   - Category
3. Select “A Quality Inspection Test is finished” in the _When Event_ field.
4. Select “Create attachment” in the _Then Response_field.
5. Locate the _Options for the Selected Response_section and set the _Report to Create_ field to your preferred report.
6. Select **OK**.
7. Enable the workflow.
8. Navigate to a Quality Inspection Test and finish a test (a PDF is created and automatically attached to the test).

1.

1.
