Skip Ribbon Commands
Skip to main content
SharePoint

Write All Solution and Process Data Item Values to a Text File

A fixed width formatted file is a file with a length specified by you while configuring the activity.

To write data item values to a delimited text file, complete the following steps:
  1. Check out and open the process you want to edit.

  2. In the Toolbox pane, click Document. A list of activities is displayed.

  3. Double-click or drag the Write Text File activity into the process.

  4. Link the activity appropriately with other activities.

  5. Right-click the Write Text File activity. A shortcut menu is displayed.

  6. Select View Properties. The Write Text File window is displayed.

  7. Click the File Options tab. The corresponding screen is displayed.

  8. Select the Write Fixed Width Formatted File option.

  9. In the Value to Write field, select the appropriate input field editor and set the field to a value that is to be written to the text file.

  10. In the Length field select the Literal Value editor or Numeric Spinner and set the field to a value that is the length of the file.

    Note:
    If you want to use headers in your text file, select the Include Headers check box.


  11. Click the Output Destination tab. The corresponding screen is displayed.

  12. In the File Encoding field, click the drop-down arrow. A drop-down list is displayed.

  13. Select ASCII or UTF-8.

    Note:
    You select ASCII or UTF-8 depending on your platform and locale.


  14. In the Output File Name field, select the appropriate input field editor and set the field to a value that is a file name.

  15. From the If the file already exists section, select Overwrite the file or Increment the file name.

    Note:
    Select Overwrite the file to replace the existing file. Select Increment the file name to save the updated version of the existing file.


  16. In the Output File Location field, select the appropriate input field editor and set the field to a value that is a file location on your system.

  17. In the Authentication section, select the Run as BPM Server or Specify credentials option.

    Note:
    If you select Run as BPM Server, access will be granted or rejected based on the BPM Server credentials. If you select Specify credentials, complete the Username, Password, and Include domain fields using the appropriate input field editors. The Include domain check box is optional.


  18. Click OK. You configured the activity to write data item values to a fixed width formatted text file.

Related Topics
Write Data Item Values to a Delimited Text File
Find and Replace Data Item Tokens in a Text File Template

Source
BPM Designer Topics > Overview of Activities and Activity Topics > Document Activities > Write Text File
Last modified at 7/31/2020 12:06 PM