Skip to content

Write Data to Table

Function Description

TIP

Write data to the specified row and column of the data table

Configuration Item Description

General

Command Input

  • Data Table ObjectTDataTable: The variable returned by the 'Create Data Table' component can be used.

  • Write MethodInteger: Choose to read data by specified row name, column name, or by specified row number, column number.

  • Write AreaInteger: Choose to read data by specified row name, column name, or by specified row number, column number.

  • Row Namestring: The default row name is the first position of each row in the data table

  • Column Namestring: Column Name

  • Row NumberInteger: Row Number

  • Column NumberInteger: Column Number

  • Write TypeInteger: Select the type of data to be written.

  • Content to Writestring: Write data in array format, For example,[""] or [string1, string2] or [string,'double quotes"',"single quotes'",1,0.01]

  • Preview in Data TableBoolean: Preview in Data Table

  • Print the output variable value of the componentBoolean: After checking, the variable data or value generated by the component during operation will be output and printed to the console log.

Command Output

  • Result after WritingTDataTable: Output the data table after successful data 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