Loading
Omnistudio Document Generation
目录
选择筛选器

          没有结果
          没有结果
          以下是一些搜索提示

          检查关键字的拼写。
          使用更普遍的搜索词。
          选择更少的筛选器,并扩大搜索范围。

          搜索所有 Salesforce 帮助
          Run the Document Generation Process Cleaner Utility in Developer Console

          Run the Document Generation Process Cleaner Utility in Developer Console

          Use the Document Generation Process Cleaner Utility to either delete the document generation process records and their associated token data content documents or only the token data content documents.

          Note
          Note If you haven't created the cleaner utility classes yet, follow the instructions in Apex Classes for Document Generation Process Cleaner Utility.
          1. Click Setup gear icon to open the quick access menu, and then select Developer Console.
          2. From the Debug menu, select Open Execute Anonymous Window.
          3. Copy one of the statements in the Enter Apex Code dialog and specify the start and end times.
            1. To call cleanDocumentGenerationProcessAndContentDocument:
              DocumentGenerationProcessCleanerUtility obj = new DocumentGenerationProcessCleanerUtility();
              DateTime starttime= DateTime.newInstanceGmt(2022,11,08,18,49,48);
              DateTime endtime= DateTime.newInstanceGmt(2022,11,09,01,20,48);
              obj.cleanDocumentGenerationProcessAndContentDocument(starttime,endtime);
              
            2. To call cleanContentDocument use:
              DocumentGenerationProcessCleanerUtility obj = new DocumentGenerationProcessCleanerUtility();
              DateTime starttime= DateTime.newInstanceGmt(2022,11,08,18,49,48);
              DateTime endtime= DateTime.newInstanceGmt(2022,11,09,01,20,48);
              obj.cleanContentDocument(starttime,endtime);
          4. Select the statement you pasted.
          5. Click Execute Highlighted.
            You can view the batch job ID and the count of successfully deleted records in the log files.
          6. Close the Developer Console.
           
          正在加载
          Salesforce Help | Article