Unexpected Department error while deploying workflow via SDF

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.

Leave a comment

Your email address will not be published. Required fields are marked *