Business Conditions in Web UI

Conditions can perform validation in Web UI while the user enters data, and notify immediately when a condition is not fulfilled. For example, to ensure that the attribute 'Sell Pack Depth' should be greater than or equal to 10 cm, a condition is created to evaluate the value entered and added to the appropriate screens. When the value is less than 10 cm, a warning is displayed as the user exists the field.

Conditions can also be used to filter Lists of Values. This function makes it impossible to select a value that violates the condition.

Configuring a Condition

  1. Create a business condition in workbench.
  2. Log in to Web UI, and click the gear wheel icon () to enter design mode.
  3. Add the condition on the appropriate level (further defined below):

Main Screen Level

The following example shows the configuration of the Web UI screen called MAIN. This allows you to add, edit, remove, and reorder conditions for all screens. See the Business Condition Properties section below for details on adding or editing business conditions.

Individual Screen Level

The following example shows the configuration of a Web UI screen called ProductDetails. This allows you to add, edit, remove, and reorder conditions for this screen. See the Business Condition Properties section below for details on adding or editing business conditions.

Business Condition Properties

Click the Add or Edit button on the Business Conditions parameter to display the following configuration dialog.

Set the following options:

Note: JavaScript conditions that use the current object bind cannot be used in Web UI.