Loading
Omnistudio Document Generation
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Terminate Long-Running Document Generation Requests

          Terminate Long-Running Document Generation Requests

          Use the TerminateDocGenRequestCronJob scheduled job to maintain server-side document generation performance by preventing long-running requests from affecting system efficiency.

          REQUIRED EDITIONS
          Available in: Lightning Experience
          Available in: Professional, Enterprise, Unlimited, and Developer Editions with Omnistudio Document Generation
          USER PERMISSIONS NEEDED
          To run the cron job: CLM Admin

          Prevent document generation requests from running indefinitely by turning on the time-out setting. Specify a time limit for document generation requests. Any individual or batch document generation requests that exceed the specified time limit, but are still in progress, are terminated and marked as failed. The default timeout is set to 6 hours.

          1. From Setup, in the Quick Find box, enter Document Generation, and then select Document Generation Settings.
          2. Click the dropdown next to the Docgen label, and then select Edit.
          3. Turn on the Enable InProgress DocGen Request Time Out setting.
          4. To specify the time interval (in hours) after which the long running document generation requests are terminated, enter a number in InProgress DocGen Request Time Out (hrs).
          5. Click Continue.
            The TerminateDocGenRequestCronJob is added to the Scheduled Jobs list.

          Individual or batch document generation requests that exceed your specified time limit are terminated and marked as failed.

           
          Loading
          Salesforce Help | Article