Approved
PRD
Retract Action of RIF PRD
Demonstrates the retract action in RIF PRD. The rule retracts the existing customer object.
Retract-premise.rif
http://www.w3.org/2005/rules/test/repository/tc/Retract/Retract-premise.rif
)
Group (
Forall ?X (
If
?X[ex:status -> "normal"]
Then Do (
Retract (?X)
)
)
ex:john[ex:status -> "normal" ex:test -> "some value"]
)
)
]]>
Retract-nonconclusion.rif
http://www.w3.org/2005/rules/test/repository/tc/Retract/Retract-nonconclusion.rif
"some value"]
]]>