rules Jahia 7.3 Jahia 8

What is the grammar used by Jahia to define rules?

Question

What is the grammar used by Jahia to define rules?

Answer

Jahia uses Drools for rules. The grammar can be found on Jahia's github: https://github.com/Jahia/jahia/tree/JAHIA_8_1_3_0/war/src/main/webapp/WEB-INF/etc/repository/rules

You can refer to the rules.dsl files to know the grammar used by Jahia.

Alternatively, these files are present in the installation folder:

[Jahia]/tomcat/webapps/ROOT/WEB-INF/etc/repository/rules