UiPath Documentation
activities
latest
false
重要 :
请注意,此内容已使用机器翻译进行了部分本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。
UiPath logo, featuring letters U and I in white

Document Understanding 活动

上次更新日期 2026年4月22日

文档脱敏

UiPath.IntelligentOCR.Activities.Redaction.RedactDocument

描述

The Redact Document activity generates a redacted PDF based on the original input PDF (provided as the Document Path), the Extraction Result and Words To Redact input fields.

The Redact Document activity uses the Document Object Model to access the location of all words identified in the PDF, while the Extraction Result and Words To Redact fields are used as input for the data that should be redacted, as follows:

  • Every entry in the Words To Redact input array is considered as a string for a case-insensitive, continuous search within the document for redaction purposes.
  • Extraction Result values that have a reference will be redacted based on this reference value (including customer area selections as reference for a value). Both regular fields and table cells are redacted.
  • Extraction Result values that lack a reference (added without a reference to a field where Requires Reference is set to False) are considered similarly to entries in the Words To Redact field. This means that all occurrences of that specific text found in the input document will be redacted.

该活动使用文档对象模型搜索词,并且模糊匹配不可用。

为了处理高度敏感的文档,我们强烈建议对提取结果执行人工验证,并使用基于引用的值和选择。这可确保全面审核需要密文的所有数据,从而最大程度地减少出现 OCR 错误或词序问题影响最终密文输出的机会。

项目兼容性

Windows - Legacy | Windows

配置

设计器面板

输入

  • Document Path: The path to the document you want to redact.
  • Document Object Model: The Document Object Model for the input documented obtained from the Digitize Document activity.
  • Extraction Results (Optional): The extraction results of the data extraction process, stored in an ExtractionResult variable. You can retrieve this from the Data Extraction Scope activity.
  • Words To Redact (Optional): A list of strings that will be redacted, in addition to the data sourced from the Extraction Results input field.
  • Output File: The output file path where you want to save the redacted PDF.
属性面板

常见

  • DisplayName: The display name of the activity.

输入

  • Document Path: The path to the document you want to redact.
  • Document Object Model: The Document Object Model for the input documented obtained from the Digitize Document activity.
  • Extraction Results (Optional): The extraction results of the data extraction process, stored in an ExtractionResult variable. You can retrieve this from the Data Extraction Scope activity.
  • Words To Redact (Optional): A list of strings that will be redacted, in addition to the data sourced from the Extraction Results input field.
  • Output File: The output file path where you want to save the redacted PDF.

其他

  • Private: If selected, the values of variables and arguments are no longer logged at Verbose level.

输出

  • Output File: The output file which contains the redacted information.

脱敏设置

  • BorderColor: The color of the border used for redaction.
  • BorderThickness: The thickness of the border used for redaction.
  • Dpi: The Dots per inch value that represents the quality of the images embedded in the redacted PDF.
  • FillColor: The fill color used for redaction.
  • 描述
  • 项目兼容性
  • 配置

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新