example7: audit when rule fired

posted in: Uncategorized | 0

In this short example we will show you that you can also make a rule that fires, when any other rule is triggered! We will create a new audit log with ‘HIGH’ level if there are any errors in a rule that is being fired. To do this we have to use the auditing channel.

Image 104

Since we open the auditing channel at the very beginning, the audit action is not available. Because nothing is selected that would trigger this audit. There is however the action ‘Rule fired’. We can use this to create a new rule that will be executed when any other rule is triggered!

Image 105

For this example we will show you how to make a new audit record when there are any errors in a rule that is being executed. Open the variables screen by clicking on the variables button next to the filter pattern. and add the HadErrors variable to the filter pattern. Finish the pattern by adding ==true. And click on the accept properties button to continue

Image 106

Image 107

Click the then option to continue.

Image 108

Now the easy part, create a new audit record. So open the auditing channel and select the ‘New audit record’ action.

Image 109

Image 110

We will use the name of the rule (variable) that had errors as a title, and the error description (variable) as the body! Don’t forget to set the level on ‘HIGH’ to make sure you will notice it in the audit log.

Image 111

Finish (as always) by clicking on finish rule and completing the title and description.

Image 112 Image 113



– application link
Intro: sample application tour
– rule 1: Authorizing who can continue to create a new record 
– rule 2: Understanding variables
– rule 3: Set a default value on new records
– rule 4: introducing channels
 rule 5: recap: audit
– rule 6: time channel, mail channel and new action types
– rule 7: audit when rule fired
– rule 8: Make a newsletter.