Restore Record Event Setup
The Restore Record Event feature allows users to configure events for restoring deleted records within the system. This feature supports configuring events to restore records using the current form, a custom form with constant records, or applying filters and data carry options. The configuration ensures that records are restored accurately and as intended.
Overview
This feature enables users to define events that restore deleted records based on form submissions, predefined records, or specific filters, and can also handle data carry from previous processes. This ensures records are restored consistently based on the defined criteria.
Configuring a Restore Record Event
Configure Restore Record Event with Current Form and Ask User to Select Record
To set up an event that restores a record using the current form:
- Title: Enter a descriptive title for the event.
- Description: Provide a description of the record restoration.
- Form: Select "Current Form."
- Record Restoration Method: Choose "Ask User to select and restore the record."
- Filters: Choose not to apply filters.
- Data Carry: Choose not to carry data.
Steps:
- Alice Johnson is setting up a "Restore Record" event.
- Enter the following details:
- Title:
Restore User Record
- Description:
Restore a deleted user record
- Title:
- Select
Current Form
. - Choose
Ask User to select and restore the record
. - Choose
No Filters
andNo Data Carry
. - Save the configuration.
Outcome: The Restore Record event will prompt the user to select and restore the record, with no filters or data carry applied.
Configure Restore Record Event with Custom Form and Set Constant Record
To set up an event that restores a specific record using a custom form:
- Title: Enter a descriptive title for the event.
- Description: Provide a description of the record restoration.
- Form: Select "Custom Form."
- Menu: Choose the menu where the form is located.
- Window: Select the window within the menu.
- Record Restoration Method: Choose "Set the constant record to restore."
- Selected Record: Choose the record to restore.
- Filters: Choose not to apply filters.
- Data Carry: Choose not to carry data.
Steps:
- Alice Johnson is setting up a "Restore Record" event.
- Enter the following details:
- Title:
Restore Animal Record
- Description:
Restore a deleted animal record
- Menu:
Animal Management Records
- Window:
Animal Registration
- Title:
- Select
Custom Form
. - Choose
Set the constant record to restore
. - Select the record to restore.
- Choose
No Filters
andNo Data Carry
. - Save the configuration.
Outcome: The Restore Record event will restore the specified record with no filters or data carry applied.
Configure Restore Record Event with Custom Form and Apply Filter
To set up an event that restores records using a custom form with a filter:
- Title: Enter a descriptive title for the event.
- Description: Provide a description of the record restoration.
- Form: Select "Custom Form."
- Menu: Choose the menu where the form is located.
- Window: Select the window within the menu.
- Record Restoration Method: Choose "Set the constant record to restore."
- Selected Record: Choose the record to restore.
- Filters: Apply a filter to specify which records to restore.
- Data Carry: Choose not to carry data.
Steps:
- Alice Johnson is setting up a "Restore Record" event.
- Enter the following details:
- Title:
Filtered Restore Animal Record
- Description:
Restore filtered animal records
- Menu:
Animal Management Records
- Window:
Animal Registration
- Title:
- Select
Custom Form
. - Choose
Set the constant record to restore
. - Select the record to restore.
- Apply the filter:
- Field:
Species
- Relation:
equals
- Value:
Dog
- Field:
- Choose
No Data Carry
. - Save the configuration.
Outcome: The Restore Record event will restore the specified record based on the filter criteria with no data carry applied.
Configure Restore Record Event with Custom Form and Data Carry
To set up an event that restores records using a custom form with data carry:
- Title: Enter a descriptive title for the event.
- Description: Provide a description of the record restoration.
- Form: Select "Custom Form."
- Menu: Choose the menu where the form is located.
- Window: Select the window within the menu.
- Record Restoration Method: Choose "Set the constant record to restore."
- Selected Record: Choose the record to restore.
- Filters: Choose not to apply filters.
- Data Carry: Choose to carry data from a specified node.
Steps:
- Alice Johnson is setting up a "Restore Record" event.
- Enter the following details:
- Title:
Data Carry Restore Animal Record
- Description:
Restore animal records with data carry
- Menu:
Animal Management Records
- Window:
Animal Registration
- Title:
- Select
Custom Form
. - Choose
Set the constant record to restore
. - Select the record to restore.
- Choose to carry data from:
- Node:
Previous Process Node
- Node:
- Choose
No Filters
. - Save the configuration.
Outcome: The Restore Record event will restore the specified record with data carry from the previous process node and no filters applied.
Validate Restore Record Configuration
To ensure the "Restore 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 Restoration Method
- Selected Record (if applicable)
- Filters (if applicable)
- Data Carry (if applicable)
Trigger Restore Record Event with Current Form
To trigger the Restore 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 restore the record.
Trigger Restore Record Event with Custom Form and Set Constant Record
To trigger the Restore 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 restore the selected record.
Validate Restored Record
To verify that the record was restored correctly:
- Action: Check the record details.
Expected Outcome:
- The record should be restored in the system with the same details as the original.
Summary
The Restore Record Event Setup feature allows users to configure events for restoring deleted 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 restored efficiently and accurately based on the configured settings.