進階自訂 > Business Logic Customization > Customizing Change Management > Change Template Initialization Rules
Change Template Initialization Rules
Administrators can configure change notice or task rules for number, life cycle template, and other attributes to a specific or generated value on creation. The only difference between a change notice or task and a change notice or task template is a template attribute specifying that the object is a template. Since the change notice or task and change notice or task template are the same object type, they use the same loaded object initialization rules.
You can customize a change notice or task template to use different object initialization rules from what is used for a change notice or task that is not a template.
Intended Outcome
The creation of change notices that are not templates are unaffected and keep the current generated number sequence and life cycle template. The change notice templates are generated with numbers that have 10 digits and use the “Basic” life cycle template.
Solution
Update the change notice or task object initialization rule to conditionally configure the number and life cycle template when the change notice or task template attribute is set to true.
Prerequisite Knowledge
To achieve this result, you need to have an understanding of the following:
XML
Loading Windchill object initialization rules. For more information on how to load and configure object initialization rules, see Loading Object Initialization Rules.
Solution Elements
Element
Type
Description
Rule for Change Notice or task
XML
The rule for change notice or task.
這是否有幫助?