Business process - Serialize in DB

Hello Community!

 

The documentation does not help much with respect when the "Serialize in DB" option in the Business process designer should be selected or not. The following is what is mentioned - 

 

[Serialize in DB] – saves parameter values for the running process in the database. Serialization is used for long processes. For example, if a new activity is created in the process and should be completed only after a certain time, all process parameters will be saved and the process can be resumed any time, even when you log out of the system.



1. Is the "Serialize in DB" option mandatory to be selected for all processes which involve user intervention? Eg I find that If I have a "User Dialog" element, the business process errors out if I don't select "Serialize in DB". 

2. What is the relation between execution of BPs and logging out of a user? How does it correlate to selection of "Serialize in DB"?? 



A few examples will help

Like 1

Like

3 comments
Best reply

Hello,

 

It is necessary to have this checkbox if the process should be stopped for some certain time, for example if you have any timer, activity that has to be performed as well as user dialog, etc.

This checkbox allows saving parameters data in the database. If it is not selected, the process data will be just saved in the browser cache. If it is long term process, the cached data might be cleared, especially if the user logged out,  so the process would not move forward. 

 

Regards,

Dean

Hello,

 

It is necessary to have this checkbox if the process should be stopped for some certain time, for example if you have any timer, activity that has to be performed as well as user dialog, etc.

This checkbox allows saving parameters data in the database. If it is not selected, the process data will be just saved in the browser cache. If it is long term process, the cached data might be cleared, especially if the user logged out,  so the process would not move forward. 

 

Regards,

Dean

dean parrett,

Thank you Dean

dean parrett,

 

What would be a good reason for not serializing in DB? Is it just a performance benefit from not having to write data to the DB? Are there other benefits? Thanks.

Show all comments