Cascade Updates
Last updated
Last updated
When updating a database, it is essential to also update all related and dependent records to maintain data consistency, accuracy, and integrity.
PowerTable allows you to automatically cascade updates across all related tables using an automation workflow.
Select Setup > Automations.
Create a new automation workflow by clicking on Create.
Click Add Trigger or directly select any of the suggested triggers to configure the triggering event.
Let us assume you need to update relevant records in another table whenever a new record is created. In this case, you can select the trigger, 'When a record is created'. A trigger event is added.
You can define additional properties and add conditions to further customize your trigger and make it more specific.
Click Add action and then choose the required database action that you want to perform. Let's update a record in another table whenever a new record is created in the current table.
Add the connection details, schema, and table name. You can specify any conditions, such as updating only certain records in the table.
Add the required row values to be updated in the table.
Click Save Changes after configuring the row values.
The automation workflow is now set up successfully. You can use the pencil icon to name this workflow for easier identification. You can also add more actions to this cascading update event, such as sending an email or a Microsoft Teams message.
Use the toggle button beside the required automation to pause or resume it. To remove an automation, pause it and then click the '...' icon and delete it.