The New Trigger Manager Rule Form
Published 23 March 2018
The Data Masker Create/Edit Trigger Manager Rule Form
If some types of triggers are enabled during the masking set run they can cause a dramatic decline in the row processing rates of the masking rules. Disabling the triggers, if appropriate, can resolve this problem. The Trigger Manager rule help file discusses this issue in more detail.
This form is used to create and edit Data Masker Trigger Manager rules. Trigger Manager rules are designed to manage the process of the enabling or disabling of the schema triggers. A Trigger Manager can be created in one of two modes: disable triggers or enable triggers. The mode is chosen when the rule is created and cannot be subsequently changed. The title text and button labels on the form will change as is appropriate to the enable/disable mode and also if the rule is being newly created or edited. In the example screen shot above, the form is editing an existing Disable Trigger Manager rule.
A Trigger Manager rule is provided with the triggers known to its Rule Controller when the rule is created. To refresh the list of triggers known to the Trigger Manager rule, first refresh the triggers in the Rule Controller using the Refresh Triggers button on Options tab of the edit Rule Controller form. This retrieves an up-to-date list of triggers from the target schema. Once the Rule Controller has been updated, use the Refresh Trigger List button to refresh the list inside the Trigger Manager rule. If required, the checked or unchecked state of the triggers can be saved and then restored after the refresh using the Export Current Configuration and Import Current Configuration buttons.
The Number of Trigger Operations Permitted to Fail field configures the Trigger Manager to ignore a certain number (or all) of the errors received while processing the trigger operations. This enables the Trigger Manager to continue operating even if errors occur. Be aware that ignoring the errors in the Trigger Manager just permits the Trigger Manager to complete as many operations as possible before returning an error and stopping the execution of the masking set. In other words, even if errors are ignored, any errors which occur during the trigger disable/enable operations will mark the Trigger Manager rule as having failed and the error state will be reported to the Data Masker software for handling once the actions have completed.
Remember that the Data Masker software is multi-threaded and that properly configured Rule Blocks are required to ensure the Trigger Manager rule runs in the appropriate order. Usually a disable mode Trigger Manager rule is run as the very first rule in the masking set and a second Trigger Manager rule is configured to run in enable mode as the very last rule.
Existing Trigger Manager rules can be edited by double clicking on them with the mouse. Trigger Manager rules are created by launching the New Trigger Manager rule form using the New Rule button located on the bottom of the Rules in Set tab.
How to Create a New Trigger Manager Rule