You can freely switch between form and source editors for rules and rule functions. In each case the editors stay synchronized with the latest changes.
The Priority setting is used by the runtime engine when determining the order in which rules are fired. Rules with a number closer to one fire first. When there is no reason to force rules to execute in a particular order, leave the Priority set to the default and let the runtime engine determine rule order.
Declaring multiple terms of the same type Allows the rule to consider multiple instances of the corresponding entity. Specify different aliases to keep the terms distinct
Scorecards Scorecards are like concepts except that there is only one instance of a scorecard (or more accurately, one instance per agent when multi-engine features are used). It is therefore not necessary to put scorecards in the declaration of a rule because a scorecard never requires an alias. You can use scorecard properties in conditions (just as you would concept properties). However, because a scorecard doesn't have an alias, refer to it like a function, for example,
Folder.Folder.Scorecard.prop1
In addition to some TIBCO BusinessEvents-specific features, the source and form rule editors support standard Eclipse functionality such as the following: Undo and redo; copy and paste; breakpoint features; standard text annotations (which can be changed using Preferences); text folding (source editor only); Java outline view (source editor only).
Keywords, variables, and functions are highlighted in the text. Also, when you hover the mouse over a resource such as a concept, event or function, information about it displays in a tooltip.
|
|
|
Click the bottom tabs to switch between the source and form editors. The code remains synchronized. However, you can’t switch if there are errors in the code. First resolve the errors, then switch.
|
|
The content assist feature helps you complete values using information that is available in resources. For example, if you type the name of a concept type (or its alias) and then a period, a list of the concept type properties appears for you to select from.
The selection list also appears when the cursor is in an appropriate location and you press Ctrl+Space, or if you right click and select Edit > Content Assist from the context (right-click) menu.
|
To Comment (and Uncomment) a Line
|
To comment out a line, or uncomment a line, press Ctrl+/ or select Edit > Toggle Comment from the context menu
|
|
When the cursor is placed in an appropriate item in the code such as an entity or function name, you can find all references to that item references in the rule code. Press Ctrl+Shift+G, or select Search > Search for References from the context (right-click) menu. The item references are highlighted in the text, and an arrow appears in the vertical ruler.
|
|
|