Example of Associating an Assignment Rule With a Change Type
You can define assignment rules to update the description field on a change.
Scenario
You want the description field to be updated automatically when the change moves to the approval status after reviewers in the interim approval status have approved the change.
Here’s a table that summarizes the values you must enter in Create Rule Set dialog box.
| Field | Value |
|---|---|
| Composite | No |
| Type | Assignments |
| Association type | Change type |
| Association Name | The change type with which you want to associate the rule set. |
Here’s a table that summarizes the values you must enter in the Create Rule dialog box.
| Field | Value |
|---|---|
| Return Type | Generic |
| Target Business Entity | Change Header |
| Target Attribute Group | Change Order Main |
| Target Attribute | Description |
Here’s a table that summarizes the values and expressions you must enter in the Edit Rule Set page.
| Field | Value |
|---|---|
| Primary If Expression | [ChangeHeader].[Change Header Main].[Status]=='Approval' |
| THEN/Secondary If Expression | true |
| Return Value | The design change has been approved by reviewers in the interim approval status. |
| User Message | Description has been updated as per the change status. |
Note: To ensure that valid attributes expressions are used in
rules, you can right-click in one of the expression fields and select Insert
Attribute, then use the Insert Attribute dialog box to populate attribute.