clsMarkRecordsToDeleteTransform Step

Use this step to mark records for deletion.

Last published at: August 11th, 2025

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 called “clsMarkRecordsToDeletetTransformDef” and open the definition 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. Provide the input CSV file path. Select the appropriate 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 included here for reference. 

 

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

 

  • Click the button to configure the case transform list. The pop-up window is displayed for configuration. Click the Add Row (+) button to insert an empty row. Select the column and the 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. Provide a name for the step. Click the Save button. 

 

  • The “Logging” setting configuration is necessary for documentation and also measures the workflow progress and the 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. Provide the table name to create and store in the connection 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 then 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 import. Then, save the definition to confirm the changes. 

Click here to download the sample file.