| ILOG JRules User Guide > Writing Rules > Concepts > Properties and Tags |
Properties and Tags |
PREVIOUS NEXT |
In JRules, you use properties and tags to store metadata on rule artifacts.
Properties contain management and execution information on the rule artifact. They are useful to help you manage your rule artifacts. For example, you can query rule artifacts based on the value of a property.
You can add new properties to rule artifacts using rule model extensions. These rule model extensions are synchronized between Rule Studio and Rule Team Server. You view and edit properties in the Properties view.
Tags enable you store data with your rule artifacts without having to extend the rule model. For example, you can store information about what remains to be done on an artifact in a tag called todo. You can then retrieve this information in a report.
You define tags in thetag field in the Properties view. Tag values can only be strings.
A more advanced use of tags is related to rule model extensions. Tags can be useful when you have implemented a rule model extension in Rule Studio and you synchronize with Rule Team Server (or the other way round). In this case, extended properties are converted into tags so that the synchronization remains smooth. Later, if you implement the rule model extension in both Rule Studio and Rule Team Server, these tags will be converted back to properties.
| Copyright © 1987-2008 ILOG S.A. All rights reserved. Legal terms. Documentation homepage. | PREVIOUS NEXT |