Copyright © TIBCO Software Inc. All Rights Reserved |
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.
1. Type the code in the rule editor as if the entity, property, or rule function you want to use already exists. See Table 25, Quick Fix Feature Options for some examples.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. To use the available Quick Fix options, click the lightbulb icon or press Ctrl+1. The options are explained in Table 25:
Table 25 Quick Fix Feature Options Unqualified name. Example: 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 link to the rule function creation wizard appears. Click it to open the wizard and define the rule function. 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:person.someProperty = "123" 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.
Copyright © TIBCO Software Inc. All Rights Reserved |