Managing user interface

 

<< Click to Display Table of Contents >>

Navigation:  Bizagi Studio > Process wizard > Business Rules > Business rules examples >

Managing user interface

 

Overview

Bizagi allows you to manage the display of data in the Forms and perform validations on the data to maintain integrity of information and ensure adherence to company policy.

In some cases these validations and controls behaviors are simple and does not require complex logic.

 

Simple behaviors include setting the Visible, Editable and Required conditions in the control's Basic Properties.

Dynamic validations and behaviors that depend on the case's information need to be configured in expressions. These expressions can be as complex as you need, allowing you to model even the most complicated situations.

 

What you can configure using expressions

Visible: This behavior defines if a control is shown or hidden in a form.

 

Editable: This behavior defines if the value of a control is read-only or if it can be changed in a form.

 

Required: This behavior defines if the information is mandatory. If a control is Required and no value has been entered, a validation will be thrown.

 

By default, a Boolean expression is used to set these properties; it will return True or False according to the conditions defined. If the evaluation of a condition returns True, the control will be visible, editable, or required accordingly. Otherwise, the control will be disabled. Refer to Scripting Booleans if you require complex expression to set these properties. Make sure these expressions ALWAYS return True or False.

 

Default Value: The value will be filled automatically by Bizagi when the form is opened for the first time in the Work Portal. This property applies to the following controls: Combo, Date, List, Money, Number, Radio, Text box, Yes/No.

 

Minimum Value: It defines and validates the minimum value that can be entered in the control. This property applies to the following controls: Date, Money and Number.

 

Maximum Value: It defines and validates the maximum value that can be entered in the control. This property applies to the following controls: Date, Money and Number.

 

Default, minimum and maximum properties can be configured using scripting expressions or constant values.