Application DesignStatic Rule

A Static rule allows you to add default data to the data map as a data map entryClosed A name (key) and value pair in the data map for a job..

Note: Each action must have a name by which it is identified, and this name must be unique within the form in which it appears. This name can be modified in the Name field of the action and is displayed in View > Actions after the action has been created.

The following are the properties for a Static rule.

Important! Content in an action or rule is case sensitive.

Value Description

Name

The name for the action or rule.

Trigger source

The field that is used in conjunction with a trigger event to interactively run the rule. For example, a button that runs a query when clicked, a prompt that runs a query when submitted, or a form that runs a query when loaded.

Trigger event

The event that is used in conjunction with the trigger source to run the rule. For example, clicking a button, entering text at a prompt, loading a form, or submitting a job.

Priority

The order in which the rules that have otherwise identical triggers are run. Trigger values are compared only if the triggers have the same trigger source, trigger event, and trigger key (if any). The type of trigger source is irrelevant. The trigger source with the lowest value for priority is run first.

Conditional

Determine whether to perform an action based on the result of a comparison of values or the result of a logical operation.

  • Name
  • OperatorClosed

    • Equals
    • Not Equal
    • Equals Ignore Case
    • Not Equal Ignore Case
    • Less Than
    • Greater Than
    • Is Missing
    • Is Not Missing
    • Is Empty
    • Is Not Empty

  • Value
Data ref

A reference to a data map entry to be added to the data map. A data ref is the data source used to populate a field with a value.

Value

The value of the data map entry to be added to the data map.

Data type

A description of the data returned by or referred to by the data map entryClosed A name (key) and value pair in the data map for a job.. The default value is STRING.

ClosedValues

Merge policy

For an action, always select the default value, mergeAll.

Tip: If you require more complex behavior than is available using a Static rule, consider using a business rule that includes a Static business rule component. For more information about business rules, see Implementing Business Logic.