About Model rules |
New | Definition | Pages & Classes | History | More |
A model rule defines one or more initial properties and property values for instances of one class. A model can be applied to a new empty page of that class to set many property values in one processing step.
Using a model, rather than setting the property values one-by-one in an activity, improves runtime performance. Using a model also speeds development, because you can set values for many properties quickly.
Several methods operate on pages and use a model rule, including the Apply-Model, Page-New, Page-Copy, and Page-Change-Class methods.
Starter flow rules — flow rules that create work objects — use a model rule for a Work- class to set initial properties for the work object.
Connector rules and other rule types that create clipboard pages use model rules.
Use the Application Explorer to access model rules that apply to the work types in your application. Use the Rules by Type Explorer to list all model rules available to you.
Model rules are part of the Technical category. A model rule is an instance of the Rule-Obj-Model class.