Skip to content

Write to File

Function Description

TIP

Write the data table to an Excel or CSV file

Configuration Item Description

General

Command Input

  • Data Table ObjectTDataTable: You can use the variable returned by the 'Create Data Table' component.

  • File FormatInteger: Supports exporting the data table to an Excel or CSV file.

  • File Pathstring: Enter or select the file path

  • Sheet Namestring: If left blank, it defaults to the currently activated sheet.

  • Print Component's Output Variable ValueBoolean: After checking, the variable data or variable value generated by the component will be output and printed to the console log output.

Command Output

  • Path After Writingstring: Output the path after successful writing.

Error Handling

  • Print Error LogsBoolean: Whether to print error logs to the "Logs" panel when the command fails. Default is checked.

  • Handling MethodInteger:

    • Terminate Process: If the command fails, terminate the process.

    • Ignore Exception and Continue Execution: If the command fails, ignore the exception and continue the process.

    • Retry This Command: If the command fails, retry the command a specified number of times with a specified interval between retries.

Usage Example

Process logic description:

Common Errors and Handling

None

Frequently Asked Questions

None