Delete Record Event Setup
The Delete Record Event feature allows users to automate the process of deleting records within the system. This feature supports configuring events to delete records using the current form, a custom form with constant records, or a custom form with filters and data carry options. The configuration also allows specifying how the deletion should be handled.
Overview
This feature enables users to define events that delete records based on form submissions, predefined records, or specific filters, and can also handle data carry from previous processes. This helps ensure that records are deleted consistently and accurately based on the defined criteria.
Configuring a Delete Record Event
Configure Delete Record Event with Current Form and Ask User to Select Record
To set up an event that deletes a record using the current form:
- Title: Enter a descriptive title for the event.
- Description: Provide a description of the record deletion.
- Form: Select "Current Form."
- Record Deletion Method: Choose "Ask User to select and delete the record."
- Filters: Choose not to apply filters.
- Data Carry: Choose not to carry data.
Steps:
- Alice Johnson is setting up a "Delete Record" event.
- Enter the following details:
- Title:
Delete User Record
- Description:
Delete an existing user record
- Title:
- Select
Current Form
. - Choose
Ask User to select and delete the record
. - Choose
No Filters
andNo Data Carry
. - Save the configuration.
Outcome: The Delete Record event will prompt the user to select and delete the record, with no filters or data carry applied.
Configure Delete Record Event with Custom Form and Set Constant Record
To set up an event that deletes a specific record using a custom form:
- Title: Enter a descriptive title for the event.
- Description: Provide a description of the record deletion.
- Form: Select "Custom Form."
- Menu: Choose the menu where the form is located.
- Window: Select the window within the menu.
- Record Deletion Method: Choose "Set the constant record to delete."
- Selected Record: Choose the record to delete.
- Filters: Choose not to apply filters.
- Data Carry: Choose not to carry data.
Steps:
- Alice Johnson is setting up a "Delete Record" event.
- Enter the following details:
- Title:
Delete Animal Record
- Description:
Delete an existing animal record
- Menu:
Animal Management Records
- Window:
Animal Registration
- Title:
- Select
Custom Form
. - Choose
Set the constant record to delete
. - Select the record to delete.
- Choose
No Filters
andNo Data Carry
. - Save the configuration.
Outcome: The Delete Record event will delete the specified record with no filters or data carry applied.
Configure Delete Record Event with Custom Form and Apply Filter
To set up an event that deletes records using a custom form with a filter:
- Title: Enter a descriptive title for the event.
- Description: Provide a description of the record deletion.
- Form: Select "Custom Form."
- Menu: Choose the menu where the form is located.
- Window: Select the window within the menu.
- Record Deletion Method: Choose "Set the constant record to delete."
- Selected Record: Choose the record to delete.
- Filters: Apply a filter to specify which records to delete.
- Data Carry: Choose not to carry data.
Steps:
- Alice Johnson is setting up a "Delete Record" event.
- Enter the following details:
- Title:
Filtered Delete Animal Record
- Description:
Delete filtered animal records
- Menu:
Animal Management Records
- Window:
Animal Registration
- Title:
- Select
Custom Form
. - Choose
Set the constant record to delete
. - Select the record to delete.
- Apply the filter:
- Field:
Species
- Relation:
equals
- Value:
Dog
- Field:
- Choose
No Data Carry
. - Save the configuration.
Outcome: The Delete Record event will delete the specified record based on the filter criteria with no data carry applied.
Configure Delete Record Event with Custom Form and Data Carry
To set up an event that deletes records using a custom form with data carry:
- Title: Enter a descriptive title for the event.
- Description: Provide a description of the record deletion.
- Form: Select "Custom Form."
- Menu: Choose the menu where the form is located.
- Window: Select the window within the menu.
- Record Deletion Method: Choose "Set the constant record to delete."
- Selected Record: Choose the record to delete.
- Filters: Choose not to apply filters.
- Data Carry: Choose to carry data from a specified node.
Steps:
- Alice Johnson is setting up a "Delete Record" event.
- Enter the following details:
- Title:
Data Carry Delete Animal Record
- Description:
Delete animal records with data carry
- Menu:
Animal Management Records
- Window:
Animal Registration
- Title:
- Select
Custom Form
. - Choose
Set the constant record to delete
. - Select the record to delete.
- Choose to carry data from:
- Node:
Previous Process Node
- Node:
- Choose
No Filters
. - Save the configuration.
Outcome: The Delete Record event will delete the specified record with data carry from the previous process node and no filters applied.
Validate Delete Record Configuration
To ensure the "Delete Record" event is configured correctly:
- Action: Review the configured details.
Expected Outcome:
- Alice Johnson should see the configured values for:
- Title
- Description
- Form
- Menu (if Custom Form)
- Window (if Custom Form)
- Record Deletion Method
- Selected Record (if applicable)
- Filters (if applicable)
- Data Carry (if applicable)
Trigger Delete Record Event with Current Form
To trigger the Delete Record event using the current form:
- Action: Ensure the trigger conditions are met (e.g., record selection).
Expected Outcome:
- The system should prompt the user to select and delete the record.
Trigger Delete Record Event with Custom Form and Set Constant Record
To trigger the Delete Record event using a custom form with a constant record:
- Action: Ensure the trigger conditions are met (e.g., record selection).
Expected Outcome:
- The system should delete the selected record.
Validate Deleted Record
To verify that the record was deleted correctly:
- Action: Check the record details.
Expected Outcome:
- The record should no longer exist in the system.
Summary
The Delete Record Event Setup feature allows users to configure events for deleting records based on various criteria. Whether using the current form, custom forms with constant records, or applying filters and data carry, this feature ensures records are deleted efficiently and in line with the configured settings.