Zimbra Social's business rules puts some of the power of plugins into the community manager's hands, allowing them to set up actions to automatically happen based on certain site triggers without writing a single line of code. While the platform does include many default triggers and actions, the developer can extend the functionality to create custom triggers and actions that correspond with other developed custom content.
See the Zimbra Social 8.5 community admin documentation for a business rules overview.
The rules engine interacts with tokens in a similar way to Templates to expose contextual values to the UI based on the current context. For example, using the Blog Post Created trigger exposes Blog Post tokens to allow related operations such as checking the blog post body for a keyword, or sending the author an email. For this reason, any custom rules extensibility points that deal with any other custom development will likely need to implement some tokens to expose the custom properties to the UI.
- Triggers - Expose platform events to trigger rules on, such as blog post create or user update. The IRuleTrigger handles listening to the event and loading event-related data into a rule context.
- Actions - Expose platform actions such as assign points or award an achievement to run when a rule triggers. The IRuleAction/IConfigurableRuleAction handles reading event-related data from the rule context and performing the appropriate action (such as API method or custom action).