Hi Guys,
Could you please explain to me how the rules in a business object is fired.
For example do they fire evertime a business space is accessed.
How does AwareIM know to fire the rule?
For example if I have rule that allocates stock to a line item within the purchaseitem business object at what point is that rule executed and how does the system know not to re execute the rule in the future once the stock has been allocated.
Or would you control it via an if statement.
ie If allocated IS UNDEFINED then do something
Is it advisable to use If allocated IS UNDEFINED in any situation that requires the setting of a value such as unit price, qty allocated etc.
Alan
rules in business objects
-
- Posts: 595
- Joined: Sun Apr 24, 2005 2:22 am
- Contact:
The system evaluates all rules of an object when the object is created or modified either from the user interface or from rules, or when the system detects data changes on related objects that are referenced in the rules of this object. It then executes the actions of those rules which conditions are met.
Therefore, you need to have appropriate conditions for each rule to ensure that the rule actions are executed only when necessary. The conditions depend entirely on the business logic of your application.
This is explained in great detail in the User Guide and other documents such as Library Case Study and How To. Please read the documents.
Therefore, you need to have appropriate conditions for each rule to ensure that the rule actions are executed only when necessary. The conditions depend entirely on the business logic of your application.
This is explained in great detail in the User Guide and other documents such as Library Case Study and How To. Please read the documents.
Aware IM Support Team