Adding properties to rule model elements
You can add properties to rule model elements by using the Rule Model Extension Editor in Rule Designer or in XML.
About this task
You can add properties to rule model elements in extension model files. You add properties to existing rule model elements and custom rule model classes the same way.
You can set annotations on the extensions to define additional information such as SQL column name and length, or related to reserved SQL keywords. See Rule model annotations.
Procedure
To add a property to a rule model element in the editor:
Results
You have now added a property to a rule model element.
In XML, you add a property to a rule model element as follows:
<add-property className="ActionRule">
<property name="myProperty" type="String"/>
</add-property>