Assignment policies

Assignment policies are sets of rules that DFC-based applications apply to determine the correct file store or retention store for each new content file added to the repository. Assignment policies require a Content Storage Services (CSS) license. Any client application built on DFC applies assignment policies automatically if CSS is enabled in the repository.

Assignment policies can only be applied to the SysObject type and its subtypes, and are represented in the repository by persistent objects. A particular object type can have only one associated assignment policy. When a new content file is added to the repository, the assignment policy engine determines whether the object type of the file has an active associated assignment policy. If there is no active assignment policy for the type, the assignment policy engine determines whether the supertype of the object has an active associated assignment policy. If there is an active assignment policy for the file type or a supertype, the system applies the policy and stores the file accordingly. If no policy is found or if none of the rules match in an applicable policy, the system uses the default algorithm to determine the correct storage area. If none of the rules match in the applicable assignment policy, the policy engine does not further search the type hierarchy.

Assignment policies consist of rules that define the criteria for storing content files in the correct storage area. There are two types of rules:

There is no syntactical difference between the two types of rules. During rule validation, a standard rule is translated into the same syntax used for custom rules.

Assignment policies are applied only to new content files, whether they are primary content files or renditions. An assignment policy’s rules are applied in the order in which they are listed within a policy. If a rule is met, the remaining rules are ignored. To match a rule, all conditions in the rule must be satisfied. An assignment policy is applied when

Assignment policies are not applied or enforced under the following conditions:

If the assignment policy engine encounters an error in a rule at runtime (for example, if a property name is invalid), the assignment policy engine returns an error and the save operation on the document or object fails. This behavior can be overridden by setting the DFC client-preference flag in the dfc.properties file on the application server host where Webtop or Documentum Administrator is installed:

dfc.storagepolicy.ignore.rule.errors=true

If this flag is set to true, the assignment policy engine ignores the faulty rule and attempts to apply the next rule in the policy.