Reset a Data Table's Data and Schema
A 4-step recipe with Workato. We can help you get access.
Recipe · 4 steps
Reset a Data Table's Data and Schema
with Workato
Truncate a data table and apply a new schema to it.
- Read the data table to confirm it exists before resetting it.
- Remove all records from the data table while preserving its structure.
- Apply the updated name, folder, and column schema to the table.
- Read the data table back to confirm the new schema is in place.
What you'll need to have ready
- dataTableId: The unique identifier of the data table to reset.
- name: Display name to apply to the data table.
- folderId: ID of the folder the data table belongs to.
- schema: The new array of column definitions to apply.
For your developer
Arazzo workflow workato:reset-data-table-schema, 4 operations: getDataTable → truncateDataTable → updateDataTable → getDataTable. Specs on APIs.io.