Replace Text in Docx#

Perform text replacement in a Docx file.

Input File[Text] Input docx file where text replacement needs to be performed.
Output File[Text] File with the result of the replacement. If the value is empty, the result will be saved to the input file.
Search Text[Text] Text that needs to be attempted to find in the document.
New Text[Text] Text that needs to be inserted into the document instead of the found fragment.
Result[Text] Returns the full path to the file with the result of the replacement.
Error Handling Level

Select the error handling level. Possible values:

  • "Default" - default;
  • "Ignore" - errors are ignored;
  • "Handle" - errors are handled.

If "Default" is selected, the value from the "Start" block of this diagram will be used.

Message Level

Select the message level that the blocks will output during operation. Possible values:

  • "Default" - default;
  • "Release" - output is disabled;
  • "Debug" - outputs main information;
  • "Detailed" - outputs detailed information.

If "Default" is selected, the value from the "Start" block of this diagram will be used.

Error Text[Text] Returns detailed information about the error in case of incorrect execution of the block's work.