$('a[name]').remove(); $('#ic-homepage__footer').before('
'); $("#tabs").tabs({ selected: 1 }); $("#ic-homepage__ic-tips").append( quickTipHTML() ); unhideOneProductTip(); $("#ic-homepage__product-tips").wrapInner('
'); $("#ic-homepage__feed-tips").wrapInner('
'); });
IBM Tivoli Monitoring > Version 6.3 > User's Guides > Agent Builder User's Guide > Edit data source and attribute properties IBM Tivoli Monitoring, Version 6.3
Formula Editor
The Formula Editor is a graphical editor that aids in the creation of formulae in the Agent Builder. The Formula Editor is displayed when you do one of the following tasks:
- Create or editing derived attributes, see Create derived attributes and Edit derived attributes
- Create Filtered Attribute groups, see Create a Filtered Attribute Group
- Filtering data from attribute groups, see Filtering attribute groups
- When you create derived attributes, the formula that you create must result in a data type that matches the type of the attribute. For example, if the derived attribute type is a number, the formula you create must evaluate to a numeric result.
- When you create filtered attribute groups or filter data from attribute groups, the formula that you create must result in a Boolean value, "true" or "false".
In the following views, the Formula Editor is shown creating formulae for derived attributes. The views are identical when you use the Formula Editor with filtered attribute groups or to filter data from attribute groups. The views show the heading Derived Formula Editor or Filter Formula Editor depending on use.
When the Formula Editor (Figure 1) is displayed, the current formula is loaded into the editor. If a formula does not exist, you can enter one by typing directly into the formula space in the Formula Editor window. Alternatively you can click Insert to begin entering a formula using the editor menu options. The editor contains two views of the formula in the default window, and an option for a third view:
- Component view (default)
- The components of the edited formula are shown in the operand areas and Operator field. In Figure 1, the (+) operator is the current operator. The operator and its two operands can be edited using the selection menus.
- Formula view (default)
- The complete formula is in the formula field in the window. You can edit the formula by typing in this box.
- Formula hierarchy tree view (option)
- The formula hierarchy tree is displayed by selecting the Show formula hierarchy check box. See Figure 2. The state of the check box is remembered in subsequent invocations of the Formula Editor.
Figure 1. Derived Formula Editor window (default)
Figure 2. Derived Formula Editor view with formula hierarchy tree view
- Change the Formula Editor component view
Change the component view in the Formula Editor.
- Component types
In the component view, the current component and any operands or function arguments of that component can be edited.
- Formula Editor common options
Options that are common to the views in the Formula Editor
- Formula Editor - Formula errors
Correcting formula errors in the Formula Editor
Parent topic:
Edit data source and attribute properties