clsMarkRecordsToDeleteTransform Step

Use this step to mark records for deletion.

Last published at: January 12th, 2026

Description:

This step marks the record for deletion.

 

Inputs

  • None
 

 

Returns

  • None
 

 

 

Usage:

 

 

 

Prerequisite:

The ETL process engine service should be running to execute the ETL definitions.

 

 

Example:

Let’s build and execute the “clsMarkRecordsToDeletetTransformDef” example.          

  • Create a new ETL definition named “clsMarkRecordsToDeletetTransformDef” and open it in designer mode. 
  • Drag “clsInputCSV, clsTransformCase, clsMarkRecordsToDeleteTransform, and clsOutputMSSQLDB” steps to the canvas. 
  • Connect the dots between the “clsInputCSV” and other steps, as shown above.
  • Click the "clsInputCSV" step to configure its "Required" properties. Enter the path to the input CSV file. Select the data schema from the drop-down list that matches the SQL result set. Click the Save button. Click here to learn about ETL Data Schema Designer.

 

  • The data schema is provided here for reference. 

 

  • Click the "clsTransformCase" step to configure its "Required" properties. Enter the step name. Click the button to configure the case transform list. Then click the Save button. 

 

  • Click the button to configure the case transform list. The pop-up window opens for configuration. Click the Add Row (+) button to insert an empty row. Select the column and case type from the drop-down list. Click the Save button. Click the Add Row button to insert multiple columns for case transform. 

 

  • Click the "clsMarkRecordsToDeleteTransform" step to configure its "Required" properties. Enter a name for the step. Click the Save button. 

 

  • The “Logging” configuration is necessary for documentation and also measures workflow progress and percent complete. This is achieved by configuring the step state and percent fields individually, as shown below. Configure the “Logging” using the following properties.

 

  • Click the "clsOutputMSSQLDB" step to configure its "Required" properties. Provide a name for the step. Select the SQL connection from the drop-down list. Specify the table name to create and store in the connection's database. Select “Yes” to create a new table. Select the primary key column from the drop-down list. Click the Save button. 

 

  • Select the database operation from the drop-down list. You may configure the step to perform “Insert, Update, Insert and Update, Delete, and Replace All”. You must configure the step to perform the Delete function to remove the records marked for deletion. Click the Save button. 

 

  • Save the ETL definition, create a new instance, and execute it. Render the ETL instance. Click the ETL step to view its properties. The “clsMarkRecordsToDeleteTransform” step should delete the records marked for deletion. 

 

 

Definition Sample:

You may download the sample definition(s) from the link here and later import them (drag-and-drop) to your FlowWright ETL Definition (XML file) page.

Note: Please verify and complete the process steps for any missing configurations, such as file path references and database connections, after the import. Then, save the definition to confirm the changes. 

Click here to download the sample file.