Saturday, August 24, 2013

Business Rules : Points To Remember

You may find business rule really difficult to implement at first if you are not aware of business rule modelling rules. Listing here some points useful while implementing business rules. I will try to keep this list progressive as and when I discover new points.

Oracle BR matches the fact by types and not by their names. If there are multiple fact of the same type available in the working memory then it will not be able to resolve the fact to update and will throw below exception.

The RL function getFactByType found more than one instance of the fact type

Input facts are asserted by rule engine. Rest all facts needs to be asserted explicitly by assert or assert new expressions. Without asserting a fact you cannot work/perform any function on fact for e.g. modify or assign. There is one other way to make the output fact available in then condition. Assert output fact in initial tab of decision service and use advanced mode and declare variable as shown in image below.




No comments:

Post a Comment

Demystifying OIC, OCI and Oracle SOA CS

What is OIC (Oracle integration cloud), OCI (Oracle cloud infrastructure), and SOA cloud service and how they are different? - This has bee...