Skip to content

Read Table to Dataset Activity

The Read Table to Dataset activity extracts a specified table from an open Word document. It then converts the table's content into a structured dataset, enabling further data manipulation within the automation workflow.

Field Description Requirement
Word Name The reference name of the Word file that has been previously opened or created. Required
New Dataset Name The reference name assigned to the new dataset that will be created. Required
Table Index The numerical index of the table within the Word document to be read. Required
Has Header Specifies whether the first row of the table should be treated as column headings in the dataset. Optional

Action Types & Examples

Word Name

  • Format: String
  • Example Result: newWord

New Dataset Name

  • Format: String
  • Example Result: newDS

Table Index

  • Format: Digit
  • Example Result: 1

Has Header

  • Format: Boolean
  • Example Result: true

Implementation Examples

Field Setup - Word Name: newWord - New Dataset Name: newDS - Table Index: 1 - Has Header: true

Execution Parameters - WordName: newWord - NewDatasetName: newDS - TableIndex: 1 - HasHeader: true

Technical Notes

The Word document referenced by Word Name must be open and accessible during activity execution. The Table Index is 1-based, meaning the first table in the document is 1, the second is 2, and so on. If Has Header is true, the first row of the specified table will be used as column names in the resulting dataset; otherwise, default column names (e.g., Column1, Column2) will be generated.