For this reason, the applications provide a "safe mode" which disables all non-bundled rules. This would allow the application to be usable to correct the problem. Safe mode is enabled by creating setting the following property in
SAFE_MODE environment variable in the affected service in the
environment: - SAFE_MODE=true
With this property in place, all non-bundled rules only rules provided by the SSDT will be disabled enabled on the next application startup. All user created rules will be disabled. After the offending rule is repaired or disabled, the environment variable should be removed and the application restarted.
It is important to not leave the application executing in safe mode for extended periods. If a district has any local rules, then they will not be activated and the system may not behave as expected.