Adding a Business Rule Using the HTML Form

If a rule template view is defined for the rule template, then you can provide values for the bindings, defined in TIBCO BusinessEvents Studio, in a HTML form.

The form interface is the visual presentation of the rule template defined by rule template views. See TIBCO BusinessEvents Developer’s Guide for more details on rule template views.

Procedure

  1. In TIBCO BusinessEvent WebStudio, under the Group Contents section, right click the rule template you want to use and select Create Business Rule.
  2. Type the business rule name in the dialogue box and click OK.
    If needed, you can enter a new folder name in the Parent Folder field and the new folder is created in the project.
    If the rule template view is defined for the rule template, then the HTML form is presented in the business rule editor. Based on the data types in the rule template view, the HTML element are generated for the HTML form.
    Rule Template Data Type and HTML Field Type Mapping
    Rule Template Data Type HTML Field Type
    Integer Textbox
    Double Textbox
    String Text Area
    Boolean Check box
    String (with associated domain model) Dropdown list
    Datetime Datetime widget
  3. Enter the threshold values in the input fields of the HTML form.
  4. Click the Save icon to save updates to the business rule.