Parameter Precedence
The parameters listed in the Standard Parameter Mappings table assume that parameters are associated with a Content Management System and apply to all documents stored in that system.
Parameter generation, however, can be defined or overridden at the document type level. Assume, for example, a WCC content management system record has the security group set to Public. All documents, by default, are visible by all users. For commercial invoices, though, you want the security group set to Financials, a custom security group you have added to WCC. This can be done by editing the COMMERCIAL INVOICE document type (Business Process Automation > Power Data > Document Generation > Document Types) and adding a Content Management System Parameter with name dSecurityGroup. The generator should be set to a Fixed generator with value Financials. The parameter generator defined at the COMMERCIAL INVOICE level overrides the one specified on the Content Management System.
Parameters may also be set directly on the document object. For example, you could have edited a specific commercial invoice (Business Process Automation > Document Manager) and modified the dSecurityGroup parameter to set its value to Financials. This is not recommended for standard parameters, or parameters defined on the document type or Content Management System as any modification to the document will regenerate parameter values and overwrite your changes.
In general, then, the precedence of parameter definitions is:
- Document
- Document Type
- Content Management System