A condition field specifies when to run business logic such as a business rule or workflow.
There are two types of condition field.
Condition field type | Description |
---|---|
Condition string | A text field that accepts a plain JavaScript condition statement. The system validates the condition syntax for correctness before an update. |
Conditions | A field that adds a condition builder to a form. Condition builders require specifying a dependent field whose values the system uses to display choice list options. Typically, the dependent field is the Table field. |
The system evaluates both types of condition field to determine if the conditions are true or false. When true, the system runs the business logic. When false, the system ignores the business logic.
To find dictionary attributes that affect condition fields, see Dictionary attributes.
The condition count widget can be activated on condition fields to display a preview of the records that would meet the current set of conditions. For fields where the condition count is activated, the number of records that match the conditions will automatically display. The count refreshes if the field the condition field depends on, such as Table, is changed. If the Table field is left blank, the widget is hidden.
In UI16, you can update a conditions field to display the version 2 condition builder.
Kindly mark my answer correct & helpful; if it's useful to you & if it solves your query.
Thanks & Regards,
Pooja Devkar