Wait Table
Waits until a new table matching the pattern is created in the Microsoft SQL Server database.
Common Properties
- Name - The custom name of the node.
- Color - The custom color of the node.
- Delay Before (sec) - Waits in seconds before executing the node.
- Delay After (sec) - Waits in seconds after executing node.
- Continue On Error - Automation will continue regardless of any error. The default value is false.
info
If the ContinueOnError property is true, no error is caught when the project is executed, even if a Catch node is used.
Inputs
- Connection Id - The unique identifier of the database connection to use (optional if credentials provided directly).
- Table Name - Table name pattern to monitor. Can include schema (e.g.,
dbo.TableName) and supports LIKE wildcards (%, _).
Options
- Poll Time (s) - Time interval in seconds between checks for new tables (default: 1.0 second).
- Credentials - SQL Server database credentials (optional). Use this if you want to monitor without a Connect node.
Output
- None - The node completes when a new table matching the pattern is detected.
How It Works
The Wait Table node monitors the database for new tables matching a specified pattern. When executed, the node:
- Retrieves the database connection (either from connection ID or creates new connection from credentials)
- Validates the table name pattern is provided
- Queries INFORMATION_SCHEMA.TABLES to count tables matching the pattern
- On first execution, records the initial count of matching tables
- Continuously polls the database at the specified interval
- When the count increases (new table created), the node completes
- Uses SQL LIKE pattern matching for flexible table name patterns