Skip to main content

Write Message

Synopsis

This operator simply writes the given text into the specified file (can be useful in combination with a process branch).

Description

This operator simply writed the specified text into the specified file. This can be useful in combination with the Branch operator. For example, one could write the success or non-success of a process into the same file depending on the condition specified by a process branch.

Input

through

Any results connected at this port are written to the specified file and then delivered without any modifications to the output port. This operator can have multiple inputs. When one input is connected, another input port becomes available which is ready to accept another input (if any). The order of inputs remains the same. The result supplied at the first input port of the Write as Text operator is available at its first output port.

Output

through

The results that were given as input are passed without changing to the output through this port. It is not compulsory to attach this port to any other port, the results are written into the file even if this port is left without connections. The Write as Text operator can have multiple outputs. When one output is connected, another output port becomes available which is ready to deliver another output (if any). The order of outputs remains the same. The result connected at the first input port of the Write as Text operator is delivered through the first output port

input

The results that were given as input are passed without changing to the output through this port. It is not compulsory to attach this port to any other port, the results are written into the file even if this port is left without connections. The Write as Text operator can have multiple outputs. When one output is connected, another output port becomes available which is ready to deliver another output (if any). The order of outputs remains the same. The result connected at the first input port of the Write as Text operator is delivered through the first output port

file

The text is written into the file delivered here.

Parameters

text

The text which should be written into the file.

mode

This parameters allows you to control what should happen to existing files. It has the following options:

  • replace: Replace any existing file content with the given text.
  • append: Append the text to the end of the file.

encoding

The encoding used for reading or writing files.