Release Target Rule
This business rule ensures that all resulting objects are at an appropriate state for release and have an appropriate change management transition specified that is consistent with the assigned life cycle transition rules. If the user-selected transition is not defined for the current resulting object transition, the rule fails.
Any undefined change process transition value in the resulting objects associated with the plan for release is assumed to be the Change transition and its defined state. If the change process transition is not defined for the resulting object, the rule fails. If the resulting object does not have a defined change process transition, but is already at the release target state that is specified by the change process transition, the rule passes.
For more information about transitions, see Defining State Transitions.
Example
The following XML will define a set of business rule objects that implement the Release Target rule.
Business rule set:
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE BusinessRuleSet SYSTEM "standardX20.dtd">
<BusinessRuleSet>
<ObjectID><localId>wt.businessRules.BusinessRuleSet:45346</localId>
</ObjectID>
<key>CHANGEABLE_PRE_RELEASE</key>

<name>com.ptc.windchill.enterprise.change2.change2ClientResource:
CHANGE_PRE_RELEASE_RULESET_NAME</name>
<description>com.ptc.windchill.enterprise.change2.change2ClientResource:
CHANGE_PRE_RELEASE_RULESET_DESC</description>
<enabled>true</enabled>
<overridable>true</overridable>
</BusinessRuleSet>
Business rule:
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE BusinessRule SYSTEM "standardX20.dtd">
<BusinessRule>
<ObjectID><localId>wt.businessRules.BusinessRule:151031</localId>
</ObjectID>
<key>RELEASE_TARGET</key>
<selector>RELEASE_TARGET</selector>

<name>com.ptc.windchill.enterprise.change2.change2ClientResource:
RELEASE_TARGET_RULE_NAME</name>
<description>com.ptc.windchill.enterprise.change2.change2ClientResource:
RELEASE_TARGET_RULE_DESC</description>
<enabled>true</enabled>
</BusinessRule>
Business rule link:
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE BusinessRuleLink SYSTEM "standardX20.dtd">
<BusinessRuleLink>
<ObjectID><localId>wt.businessRules.BusinessRuleLink:151033</localId>
</ObjectID>

<ruleSet><ObjectReference><localID>wt.businessRules.BusinessRuleSet:45346
</localId></ObjectReference></ruleSet>

<rule><ObjectReference><localID>wt.businessRules.BusinessRule:151031
</localId></ObjectReference></rule>
<blockNumber>2</blockNumber>
</BuisnessRuleLink>
Was this helpful?