System Administrator
                            Jahia 7.3
                            Jahia 8
                            Legacy
                            
                How to deactivate a business rule?
Question
How to deactivate a rule? For example, the one creating thumbnails upon image upload?
Answer
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 jahia.properties or jahia.custom.properties file in the following format:
  jahia.rules.disabledConfig=["<workspace>".]"<package-name-1>"."<rule-name-1>",["<workspace>".]"<package-name-2>"."<rule-name-2>"... 
- The workspace part is optional. For example, the following configuration:
  jahia.rules.disabledConfig="org.jahia.modules.rules"."Image update","live"."org.jahia.modules.dm.thumbnails"."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 org.jahia.modules.dm.thumbnails) will be disabled in rules for live workspace only.
 
 
- In order to disable some rules permanently, a configuration entry can be added into jahia.properties or jahia.custom.properties file in the following format: