How to commit form data

Dear support team,

How to commit programaticaly data from a form?


Pedro Gentil

Comments (5)


Dear Pedro

The Expressions can save data in the actions, these can be created in the following moments:

•On Enter: Once, as soon as the Activity is created

•On Save: Every time the end users clicks on Save or when the Task is refreshed. (Applies to tasks where an end user interacts with the Process: Tasks and Intermediate Events)

•On Exit: Once, when the Activity is finished.

we recommend to review the Bussines rules chapter in our online help, where you can clarify many doubts about this subject.

best regards

Luis Emilio


Dear Luis Emilio,

The question is this: while one is working on a form, the data are not persisted in the database. I have a nested form in a situation where I need to populate a listbox with this information ... as the table for the listbox does not have the data yet, they are not displayed.

Then I thought about using a button with a script to do this.


Pedro Gentil



Our counsellors would like to see the informations of a pending case (the counsellor is the case creator).

  • Group's number
  • Group's name
  • Number of employees

I customized the columns but if the data are not commited, they have to open each pending case to see the client's name, etc.

Is there a way to quickly see the details? Of course, because de data are not commited, we can't see them in a summary in it too.


I've got the same question.

Emilio? Juan? Anyone?!!


Dear Users,

The way how Bizagi saves data is through scopes. Bizagi is a collaborative tool that allows many users to work in the Work Portal on the same process at the same time, in parallel activities. To ensure the integrity of the information, Bizagi uses a concept called Long-term transactions. This is an essential technology used when many people work on a project simultaneously, to prevent different users editing (overwriting) the same data. In Bizagi this technology is called Scopes.

To this end, the information of all activities is stored in the Scope and only updates the database when the user clicks the Next button.

When a user is entering information onto a pending activity in the Work Portal, it can be saved by clicking the Save button; the case can be continued later. However, this information is not validated until the user clicks Next, at which time the rules that ensure data integrity are run, i.e. when the user is sure he wants to end this activity.

Think of the Scope as a temporary memory storage that ensures the information is saved and remains as the end user enters it, but is not reflected in other opened activities of the same process, until Next is clicked; this is when it is finally persisted.

In the event that the user clicks Save, the information will remain in the Scope of the activity and not in the database.

When Next is clicked, the information entered will persist in the database and thus, be available for all other opened activities and for the next pending ones in the process flow.

XPath navigation uses the information in the Scope, not the database. You must always use XPath navigation in Expressions, Document templates, Policies, interfaces, etc.

When it is necessary for an external system to send information to Bizagi it must use methods of the Bizagi SOA Layer to send information directly to the Scope and not to the database.