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

Define an asynchronous sequence

Community

A synchronous sequence is a group of activities that must all complete successfully before the process can continue, but that can be completed in parallel to other activities in the process.

By default in Bonita Studio, the entire process is a single synchronous sequence.

This can be changed by creating subsequences that are asynchronous. That is, sequences can be decoupled.  A synchronous sequence (transaction) can then be completed in parallel to other sequences.

To mark the end of one transaction and identify the beginning of another, the activity in the process immediately following the transactional sequence should be de-synchronized.  This signals the disconnection of this sequence from the transactional group.

When the Bonita Execution Engine receives an order from a client application (Bonita User Experience or third party application) it uses the client Java thread. During the execution, if an activity is marked as asynchronous, the engine will give the control back to the client and open a new Java thread to continue with the execution of following activities.

To indicate de-synchronization of any element, click on the element and go to Details -> Advanced and un-check the selection for Synchronous.

Please login to access documentation. Login
No account yet? Create one. Sign Up