Replace All Variables in Word Text#

Perform the replacement of all variables in a Word document.

Link to Word[Link] Link to the process of processing the Word document. The variable name in this property must match the variable name in the "Link to Word" property of the "Create Document" or "Open Document" blocks from the Word group that were previously used to create or open this document.
Link to Document

[Link] Link to the open

Word document where the Work is currently taking place.

The variable name in this property must match the variable name in the "Link to Document" property of the "Create Document" or "Open Document" blocks from the Word group that were previously used to create or open this document.

Dictionary

[Dictionary] Dictionary for replacement. The keys of the dictionary are the variables to be replaced in the format "%key%".

If the value is empty, the global variables dictionary of the entire project will be used.

Error Handling Level

Select the error handling level. Possible values:

  • "Default" - by 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" - by default;
  • "Release" - output is disabled;
  • "Debug" - main information output;
  • "Detailed" - detailed information output.

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.