Adding a line separator to the file

You can add line separators to the data without using an additional Assign node.

  1. Select a Start node.
  2. Open the Variable Expression Builder.
  3. Specify the Variable name.
    • <FileAccessNode_ActivityId>__LineSeparator - This variable can be created in the Start node with the type set as String and the line separator value specified. This will add the line separator before appending the data if it already exists. For example, FileAccess1500_LineSeparator.
    • <FileAccessNode_ActivityId>__LineSeparatorAfter - This variable can be created in the Start node with the type set as String and the line separator value specified. This will always add the line separator after appending the data. For example, FileAccess1500_LineSeparatorAfter.
  4. In the Variable value field, specify the line separator.
    Note: A variable has to be created for each File Access node with the Append option if more than one file is being built in the same flow. The variable does not need to be added to the File Access node; creating it with the File Access node's Activity ID in the Start node would be sufficient.