Use the WriteToCSV component

  • Release version: Washingtondc
  • Updated February 1, 2024
  • 1 minute to read
  • Write the data to a CSV file by using the WriteToCSV component in RPA Desktop Design Studio as part of a Workflow.

    Before you begin

    Role required: none

    About this task

    You can configure the properties for the WriteToCSV component. For more information about these properties, see Properties of the Data Writer components.

    Procedure

    1. In the Toolbox pane, navigate to Utilities > Data Writer.
    2. Drag the WriteToCSV component to the Design surface.
    3. To configure the input fields, see Configure port properties.
    4. Connect the data and control ports of the WriteToCSV component to the corresponding ports of the other components as described in the following table.
      Port type Purpose of connection Mandatory?
      Data In (FilePath) Passes the path to the CSV file from a previously executed component. Yes
      Data In (Data Table) Passes the data to be written to the CSV file from a previously executed component. The port accepts data in the Data Table format. Yes
      Data In (Delimiter) Passes the delimiter from a previously executed component. You can specify a custom delimiter. No
      Control In Connects to the Control Out port of one or more components. Yes
      Control Out Connects to the Control In port of any other component. No. Connecting the port is optional.
    5. Optional: To test the component, under the DESIGN tab, click Run.