This feature is not enabled by default; you must manually enable this option to use it. To enable this feature, you must set the Task.Assignment and incident validation on save rules.
|
1.
|
Within the Configuration Console Main Menu, choose Business Objects, then open the Incident business object page. |
|
2.
|
Choose the Business Rules tab. The list of rules appears. |
|
3.
|
At the bottom of this list is the Validation On Save Rules section. The only rule listed is shown crossed out (disabled). |
Validation On Save Rules
The full expression is:
$(((Status != "Closed") && (Status != "Resolved")) || IsTrueForAllChildren("Incident#", RecId, "Task#Assignment.Rev3", "$(Status == 'Completed' || Status == 'Cancelled' || Status == 'Rejected')"))
|
4.
|
Click Enable next to the rule. The rule is no longer crossed out. |
|
5.
|
Click Save on the toolbar to commit your settings. |
|
6.
|
Return to the Home page and open the Task.Assignment business object, then choose the Business Rules tab. The list of rules appears. |
|
7.
|
At the bottom of this list is the Validation On Save Rules section. The only rule listed is shown crossed out (disabled). |
Validation On Save Rules Section
The full expression is:
$(IfAllSiblings("Incident#.Rev3", "$(Status != 'Closed' && Status != 'Resolved')", "$(Status == 'Completed' || Status == 'Cancelled' || Status == 'Rejected')", "$(PromptAndExecuteAction('$(Parent(Incident#.Rev3))', 'Task belongs to an Incident with no other unfinished Tasks. Select [Yes] to set Incident resolved, select [No] to create a new Task, or select [Cancel] to cancel the Task save operation.', 'Resolve Incident', 'New TaskAssignment'))"))
|
8.
|
Click Enable next to the rule. The rule is no longer crossed out. |
|
9.
|
Click Save on the toolbar to commit your settings. |