Microsoft Excel · Arazzo Workflow
Microsoft Excel Add and Retire a Table Column
Version 1.0.0
Inspect a table's columns, insert a new column at a position, verify it, then remove it.
View Spec
View on GitHub
AutomationData AnalysisMicrosoftMicrosoft 365OfficeSpreadsheetsArazzoWorkflows
Provider
Workflows
table-column-lifecycle
Add a column to an Excel table, confirm the new schema, and retire the column.
Reads the current column set, adds a column at an index, verifies the table shape changed, then removes the column it added.
1
openSession
createWorkbookSession
Open a persisting session so the schema change is committed to the workbook.
2
resolveTable
listTables
Resolve the table on the worksheet whose schema is being changed.
3
readColumnsBefore
listTableColumns
Capture the table's column set before the change so the caller has the prior schema and can pick a valid insert index.
4
addColumn
addTableColumn
Insert the new column at the requested index, carrying its header and seed values. Columns to the right of the index shift over by one.
5
readColumnsAfter
listTableColumns
Re-read the columns to confirm the new schema, which is the shape every subsequent row append must now match.
6
retireColumn
deleteTableColumn
Delete the column that was just added, demonstrating the retire path. This destroys every value in the column and cannot be undone through the API.