Ask AI
Skip to main content

Delete list of data records

Function: Delete list of data records

This action allows you to remove multiple data records from your application's database in one go. Instead of deleting items one by one, you can provide a collection of records, and the platform will delete all of them efficiently. This is useful for bulk cleanup, archiving, or managing large datasets.

Input

  • List of data to delete: This is a collection (or list) of specific data records that you want to remove from your application. Each item in this list should represent a complete data record (like a customer profile, an order, or a product entry). This input is required.

Output

This action does not produce any direct output that can be used in subsequent steps. Its primary effect is the permanent deletion of the specified data records from your application.

Execution Flow

Real-Life Examples

Example 1: Cleaning Up Inactive User Accounts

  • Scenario: You want to remove all user accounts that have been inactive for over a year to keep your user database tidy and compliant with data retention policies.
  • Inputs:
    • List of data to delete: A list of user records that you've filtered from your "Users" database table, specifically those where the "Last Login Date" is more than 365 days ago.
  • Result: All user accounts that meet the inactivity criteria are permanently removed from your application's database, reducing clutter and improving data management.

Example 2: Deleting Completed Project Tasks

  • Scenario: At the end of a project phase, you want to clear out all tasks that have been marked as "Completed" to start fresh for the next phase and focus on outstanding work.
  • Inputs:
    • List of data to delete: A list of task records that you've filtered from your "Project Tasks" database table, where the "Status" field is set to "Completed".
  • Result: All completed project tasks are deleted, making your task list cleaner and easier to manage for ongoing work.

Example 3: Removing Outdated Product Catalog Entries

  • Scenario: Your e-commerce store has a seasonal product line, and you need to remove all products from the "Winter Collection 2022" that are no longer available or have been discontinued.
  • Inputs:
    • List of data to delete: A list of product records that you've filtered from your "Products" database table, specifically those where the "Collection" field is "Winter Collection 2022" and the "Availability" field is "Out of Stock" or "Discontinued".
  • Result: The specified outdated product entries are removed from your product catalog, ensuring customers only see currently available items and your inventory data is accurate.