Skip to main content

Save Named Table

Persists an in-memory table back to the platform as a Named Table.

Category: Named Tables & Rules Engine · Group: Tables · Activity name: SaveNamedTable

The SaveNamedTable activity in the designer

Example

outputVariable = SaveNamedTable("<tableName>", createNew=False, mode="upsert")

Inputs

NameTypeRequiredDefaultDescription
Table NamestringYesThe name of the in-memory table to save.
Create NewbooleanFalseIf true, creates a new persistent table. If false, updates the existing one.
Write ModestringupsertHow rows are written to the persisted table. 'upsert' (default) writes rows by their key — same-key rows merge. 'replace' deletes all existing rows before writing the batch. Tables without an explicit key get a system-managed _id (UUID per row) so every save is a distinct row. One of: upsert, replace.

Outputs

NameTypeDescription
outputVariablejsonStores save result (tableName, rows, saved).