Table of Contents

Convert DataPackage to DataTable

Converts an InVision DataPackage to a .NET DataTable.

You can use this action to convert the data returned from an InVision SQL Script returning data action to a standard .NET DataTable.
The DataTable can then be used by other actions, such as Function for custom business logic, exporting to Excel, PDF, CSV, or Parquet, writing to databases like PostgreSQL or SQL Server, and more.

img

Example img
This flow executes a SQL scriptSQL Script returning data, converts the result into a table, generates a CSV file from the data, and uploads the file to blob storage.


Properties

Name Type Description
Title Optional A descriptive label for the action displayed in the Flow editor.
Source DataPackage Required The DataPackage, typically returned from a SQL Script returning data action, to convert to a .NET DataTable.
Table variable name Required The name of the variable that stores the converted DataTable.
Disabled Optional When enabled, the action is skipped during flow execution.
Description Optional Additional notes or comments about the action or configuration.

Returns

Returns a .NET DataTable.