---
schema_version: "1"
id: dbe0ad99bd89510b53dbb287c4db13f227163045a5133b2cef2239d00451cfe2
title: Document Generation Batch Process
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/doc_gen_document_generation_batch_process.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.doc_gen_document_generation_batch_process.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 73682916a69681519d65db3ca81f02b6277db954db93cdb50094a19cda0639e6
description: The Document Generation Batch Process feature allows you to group and manage a large number of single document generation process requests, all under a unique batch document generation ID.
products:
  - Omnistudio Doc Gen
release: "264"
---
# Document Generation Batch Process

The Document Generation Batch Process feature allows you to group and manage a large number of single document generation process requests, all under a unique batch document generation ID.

Here’s an example of how the Batch Document Generation feature can help you. Suppose you have 1000 documents that must be generated, you can group them under a unique batch document generation ID. You’ll be able to monitor the batch status, track the success, failure, and progress of requests, and determine the completion of the entire process. After the document generation batch process is complete, you'll receive an email and an in-app notification.

- **[Prerequisites for Omnistudio Document Generation Batch Process](https://help.salesforce.com/s/articleView?id=ind.doc_gen_prerequisites.htm&release=264.0.0&type=5)**  
    Before you proceed, make sure your organization meets these prerequisites.
- **[Enable Omnistudio Document Generation Batch Process](https://help.salesforce.com/s/articleView?id=ind.doc_gen_enable_document_generation_batch_process.htm&release=264.0.0&type=5)**  
    Before you can start using document generation batch processing, you must enable Document Batch Generation from Document Generation Settings.
- **[Create a Omnistudio Document Generation Batch Process](https://help.salesforce.com/s/articleView?id=ind.doc_gen_create_a_document_generation_batch_process.htm&release=264.0.0&type=5)**  
    Create a document generation batch process to group and manage a large number of single document generation process requests.
- **[Assign a Document Generation Request to a Omnistudio Document Generation Batch Process](https://help.salesforce.com/s/articleView?id=ind.doc_gen_assign_a_document_generation_request_to_a_document_generation_batch_process.htm&release=264.0.0&type=5)**  
    When you create a document generation process request, you can assign it to a document generation batch process.
- **[Manage a Omnistudio Document Generation Batch Process](https://help.salesforce.com/s/articleView?id=ind.doc_gen_manage_a_document_generation_batch_process.htm&release=264.0.0&type=5)**  
    You can run, pause, queue, dequeue, and delete a document generation batch process. You can continue adding document generation processes to a batch while it is In Progress or Queued. You can run only one batch at a time. If multiple batches are queued, they run sequentially. You can’t modify a batch after it reaches completed.
- **[View the Status of a Omnistudio Document Generation Batch Process](https://help.salesforce.com/s/articleView?id=ind.doc_gen_view_document_generation_batch_process_status.htm&release=264.0.0&type=5)**  
    The Document Generation Batch Processes page provides a list of all batch processes.
- **[Sample Apex Code for Generating Quotes in Batch](https://help.salesforce.com/s/articleView?id=ind.doc_gen_sample_apex_code_for_generating_quotes_in_batch.htm&release=264.0.0&type=5)**  
    Here is a sample of Apex code that carries out two main functions. First, it creates a record named DocGenerateBatchProcess which is responsible for generating quotes. Second, it creates a list of 100 quote documents and links these documents with the DocGenerateBatchProcess record. To start a batch using Apex, update the Status field to InProgress. This value is case sensitive, and the batch runs automatically after the status is updated.