This documentation (Bonita Open Solution V5) is an archive. Please click here for current documentation.
Advanced search

Define data handling

Open Source

Fields in a form can present, accept, and treat data. In Bonita Studio Form Builder, define how a field is to handle data for each field by configuring the field widget.

This section describes how to configure field widgets to handle how initial data is presented in a field, how/if it is to be treated in an expression, and how it is to be saved.

If you define a form with several items that handle data, it is important to consider the order in which items are handles when the process step is executed. Suppose you have a form with one widget and a submit button. The order of execution of data handling is difference depending on the definitions of the form, widget, and submit button, as the folliwng examples show:

Case 1:
The widget contains an expression with "Save to" to save process data
The submit button has an action expression using "Save to" to save process data
The form has an action expression using "Save to" to save process data

In this case, the order of execution within the form is widget, submit button, form.

Case 2:
The widget contains an expression with "Save to" to save process data, and the "Save to" boxes are unchecked for the submit button and the form
The submit button has an action expression that modifies the value of process data
The form has an action expression that modifies the value of process data

In this case, the order of execution within the form is widget, form, submit button.