The REDACT action creates a redacted version of an existing document by removing or obscuring sensitive information. The redacted document is stored in the repository and can be made available as a process variable for use in subsequent workflow activities.
Use this action when documents contain confidential, personal, financial, or regulated information that must be hidden before the document is shared, distributed, archived, or processed further.
The input parameters of the action are:
| Parameter | Type | Required | Description |
|---|---|---|---|
| fileToRedact | Array<content>, Content | Required | ID of the form used to generate the document. If multiple submissions exist, the most recent submission is used. |
| outputFileName | String | Optional | Name of the generated file. Example: onboarding-form. |
| outputFormat | String | Optional | Output file format. Supported values are DOCX and PDF. The default value is PDF. |
| redactionAnnotations | Array<JSON> | Optional | Defines the areas of the document to redact. Each annotation
specifies the page, position, size, and color of the redaction region.
The following output variables are available:
|
| targetFileType | Content-Type | Optional | Content type assigned to the redacted document. Example: fin:invoice. |
| targetFile | Content | Requires one | Existing file variable that will be updated with the redacted document. |
| targetFolder | Content | Requires one | Folder variable where the redacted document will be stored. |
| targetFolderId | String | Requires one | Node ID of the destination folder. |
| targetFolderPath | String | Requires one | Repository path of the destination folder. |
The output parameters from generating a document are:
| Parameter | Type | Required | Description |
|---|---|---|---|
| file | Content | Optional | The redacted document stored in the repository and available for variable mapping. |