Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 15 Rules and Rule Functions : Using the Quick Fix Feature in the Rule Editor

Using the Quick Fix Feature in the Rule Editor
The Quick Fix feature enables you to create concepts, events, and rule functions without leaving the rule editor. It also enables you to add properties to existing concepts and events. The feature is available when an unknown reference appears in the rule or rule function code.
This feature is also used in the state modeler feature, available in TIBCO BusinessEvents Data Modeling, wherever the rule editor is used.
If a qualified name has multiple unresolved references, for example, Concepts.Something.Somethingelse, the Quick Fix feature only applies to the first unresolved reference in the name.
To Use the Quick Fix Feature
1.
You see a lightbulb icon () in the left margin on any line where there are unknown references that you can configure using Quick Fix.
2.
A list of appropriate wizards appears so you can create a new concept, simple event, or time event. The wizard you select opens so you can define the entity.
Unqualified name followed by parentheses. Example:
A Quick Fix option appears so you can automatically create the entity or rule function in the given folder.
Qualifier is a concept or event and reference is unknown. Example:
A Quick Fix option appears with the name: Create a property definition in the entity’entityName’. Click the option to open the New Property Definition dialog, and configure the details of the property.
In the example, the someProperty property does not already exist as a property of Concepts.Person.

Copyright © TIBCO Software Inc. All Rights Reserved