Field Change Trigger Setup
Field Change Triggers allow the Workflow Management module to react to changes in specific fields of tables. This feature helps automate workflows based on modifications or entries in table fields.
Overview
Field Change Triggers can be configured for both static and dynamic tables to monitor changes such as entries or modifications. By setting up these triggers, users can automate responses based on specific field changes, ensuring that workflows are executed as needed when data is altered.
Configuring Field Change Triggers
Configure Entry Field Change Trigger for Static Table
To configure an entry field change trigger for a static table:
- Title: Provide a descriptive title for the trigger.
- Description: Explain the purpose of the trigger.
- Trigger Method: Select Entry.
- Source Table: Choose the static table to monitor.
- Table Field: Select the specific field to monitor for changes.
Example:
- Title: User Role Update Entry
- Description: Trigger on role entry change
- Trigger Method: Entry
- Source Table: Static Table
- Table Field: Role Name
Outcome: The Field Change Trigger will be set to monitor the "Role Name" field of the "User Roles" table for entry changes.
Configure Modify Field Change Trigger for Static Table
To configure a modify field change trigger for a static table:
- Title: Provide a descriptive title for the trigger.
- Description: Explain the purpose of the trigger.
- Trigger Method: Select Modify.
- Source Table: Choose the static table to monitor.
- Table Field: Select the specific field to monitor for modifications.
Example:
- Title: Department Name Modification
- Description: Trigger on department name modification
- Trigger Method: Modify
- Source Table: Static Table
- Table Field: Department Name
Outcome: The Field Change Trigger will be set to monitor the "Department Name" field of the "User Department" table for modifications.
Configure Entry Field Change Trigger for Dynamic Table
To configure an entry field change trigger for a dynamic table:
- Title: Provide a descriptive title for the trigger.
- Description: Explain the purpose of the trigger.
- Trigger Method: Select Entry.
- Source Table: Choose the dynamic table to monitor.
- Table Field: Select the specific field to monitor for changes.
Example:
- Title: Student Name Entry
- Description: Trigger on student name entry change
- Trigger Method: Entry
- Source Table: Dynamic Table
- Table Field: Student Name
Outcome: The Field Change Trigger will be set to monitor the "Student Name" field of the "Student Information" form for entry changes.
Configure Modify Field Change Trigger for Dynamic Table
To configure a modify field change trigger for a dynamic table:
- Title: Provide a descriptive title for the trigger.
- Description: Explain the purpose of the trigger.
- Trigger Method: Select Modify.
- Source Table: Choose the dynamic table to monitor.
- Table Field: Select the specific field to monitor for modifications.
Example:
- Title: Course Description Modification
- Description: Trigger on course description modification
- Trigger Method: Modify
- Source Table: Dynamic Table
- Table Field: Course Description
Outcome: The Field Change Trigger will be set to monitor the "Course Description" field of the "Course Information" form for modifications.
Validating Field Change Triggers
To validate the configuration of a Field Change Trigger:
- Review Configuration: Ensure all fields are correctly filled with appropriate values.
- Check Trigger Method: Confirm that the correct trigger method is selected.
- Verify Source Table: Ensure that the appropriate table is selected for monitoring.
- Confirm Table Field: Make sure the correct field is selected for monitoring.
Validation Checklist:
- Title
- Description
- Trigger Method
- Source Table
- Selected Table Field
Verifying Field Change Trigger Activation
Verify Entry Field Change Trigger on Dynamic Table
To verify the activation of an entry field change trigger for a dynamic table:
- Trigger: Make an entry in the monitored field of the dynamic table.
- Expected Outcome:
- The Field Change Trigger should be activated.
- The configured workflow should be executed.
Verify Modify Field Change Trigger on Dynamic Table
To verify the activation of a modify field change trigger for a dynamic table:
- Trigger: Modify the monitored field in the dynamic table.
- Expected Outcome:
- The Field Change Trigger should be activated.
- The configured workflow should be executed.
Summary
Field Change Triggers in the Workflow Management module enable automation based on specific field changes within static and dynamic tables. By configuring and validating these triggers, users can ensure that workflows react appropriately to data changes, whether they involve new entries or modifications in table fields.