System Administrator Jahia 7.3 Jahia 8 Legacy

How to deactivate a business rule?


How to deactivate a rule? For example, the one creating thumbnails upon image upload?


The only solution for you is to:

  • temporarily:
    • Go to JAHIA_URL/modules/tools/rules.jsp
    • Deactivate the rule you want
  • permanently:
    • In order to disable some rules permanently, a configuration entry can be added into or file in the following format:
    • The workspace part is optional. For example, the following configuration:
                  jahia.rules.disabledConfig="org.jahia.modules.rules"."Image update","live".""."Automatically generate thumbnail for the document"
      • will disable rule "Image update" (from package org.jahia.modules.rules) in rules for all workspaces (live and default)
      • and the rule "Automatically generate thumbnail for the document" (package will be disabled in rules for live workspace only.