Skip to main content

Delete

MSSQL Plugin – Delete Action

Summary (SEO Meta Description):
The Delete Action in the MSSQL Plugin removes records from a Microsoft SQL Server table based on specified conditions.
It is useful for workflows that require cleaning up, archiving, or dynamically removing records from enterprise databases.


Overview

The Delete Action enables workflows to remove one or multiple records from a selected MSSQL table.
You can define conditions manually or via mapped workflow inputs to ensure only the intended rows are deleted.

Typical Use Cases:

  • Remove outdated records from a database
  • Clean up invalid or temporary entries
  • Automate archiving by deleting records after exporting
  • Dynamically delete rows based on workflow triggers

⚙️ Configuration

FieldDescriptionType / Options
LabelCustom name for the actionString
Select connectionChoose or create an MSSQL connectionConnection
Table nameTarget table where records will be deletedDropdown
ConditionSQL condition for selecting rows to deleteString
Inputs (Manual)Define custom inputs for conditions (optional)NUMBER, STRING, BYTE, DATE, DATETIME, BOOLEAN, OBJECT, ARRAY, ANY
Truncate FieldsToggle to shorten field values if neededBoolean
SchemaSelect schema for validation/mappingSchema selector

FAQ

Q: Can I delete multiple rows at once?
A: Yes. If the condition matches multiple records, all of them will be deleted.

Q: What happens if no condition is set?
A: Without a condition, the plugin may delete all rows from the selected table. It is recommended to always set conditions.

Q: Does it support input mapping for dynamic conditions?
A: Yes. You can configure manual inputs to pass values dynamically from workflow data.


Keywords: WeHub MSSQL Plugin, MSSQL Delete Action, Microsoft SQL Server Workflow Delete, MSSQL Data Management