While deploying workflow through SDF, an unexpected error throws saying ‘STATICDEPARTMENTS must be enabled in your account’.
This throws up because the workflow uses Departent Division but the manifest.xml does not contain the feature for DEPARTMENTS.
Adding < dependencies> <feature required =”true”>DEPARTMENTS</feature> in the manifest.xml will solve the issue.