Description:
This step securely blackouts text and sensitive information in PDFs.
Inputs
- inputFilePath - Input File Path
- keyword list - Keyword list to redact
- outputFilePath – Output file path
- pdfVirtualPath – PDF Virtual file path
Returns
- True – step executed successfully
- False – step failed to execute
- Error - step execution error
Usage:

Example:
Let’s build and execute the “redactPDFDef” example.
- Create a new process definition named “redactPDFDef” and open it in Designer mode.
- Drag the “redactPDF” step to the canvas.
- Connect the dots between the “Start” step and “redactPDFDef” steps, as shown above.
- Define a variable or a global to store the file path result.
- Click the "redactPDF" step to configure its "Required" properties. Provide a name for the step. Provide the source file path on the application server. Provide the keywords to be blanked out, separated by a pipe symbol. Provide the variable or global references to store the Output and Virtual PDF file paths. Click the Save button. Note: Click the "AI Predict" button to have Copilot add new process steps that match your process description.

- Click the button to provide the keyword list for redaction. A pop-up window appears for configuration. Click the Add Row (+) button to insert an empty row. Enter the keyword list. Click the Save button. You may add multiple keyword list values for redaction using the Add Row button. You may also add various matrix row indexes and values using the Add Row button. Use the “arrow keys” to reorder the row position. Click the “copy” icon to duplicate the row contents into a new row.

- The “Logging” configuration is necessary for documentation and also measures workflow progress and percent complete. This is achieved by configuring the step state and percent fields individually, as shown in the images below. Configure the “Logging” using the following properties.

- Save the process definition, create a new instance, and execute it. Render the process instance. Click the “redactPDF” process step to view its properties. The first step is to create a copy of the PDF, securely redacting text and sensitive information. Copy and paste the “pdfVirtualPath” variable value into a browser window to view the PDF.
Definition Sample:
You may download the sample definition(s) from the link provided and later import them (drag-and-drop) into your FlowWright Process Definition (XML file) or Form Definition (HTML file) page.
Note: Please verify and complete any missing configuration steps, such as file path references and database connections, after the import. Then, save the definition to confirm the changes.