Warning:
This wiki has been archived and is now read-only.
AssertRetract2
From RIF
| Test Type | PositiveEntailmentTest | ||||
|---|---|---|---|---|---|
| Contributor | Adrian Paschke | ||||
| Status | Approved | ||||
| Record | February 16, 2010 telecon | ||||
| Dialect | PRD | ||||
| Purpose | Retract + Assert Action of RIF PRD | ||||
| Description | Demonstrates the combination of the assert and retract action in RIF PRD. The rule retracts one fact about the existing customer object and asserts a new fact with a new discount value of "0". Note, the combination of retract and assert in this example does behave like a modify action. | ||||
| SeeAlso | AssertRetract, Assert, Retract, Modify, Modify_loop | ||||
| SpecRef | http://www.w3.org/2005/rules/wiki/PRD | ||||
| Premises |
|
||||
| Conclusion |
|