[jboss-user] [jBPM] - Re: Attach & Reterive Custom metadata with process instance

Maciej Swiderski do-not-reply at jboss.com
Mon Jul 29 01:40:10 EDT 2013

Maciej Swiderski [https://community.jboss.org/people/swiderski.maciej] created the discussion

"Re: Attach & Reterive Custom metadata with process instance"

To view the discussion, visit: https://community.jboss.org/message/830155#830155

I would say that option one is the only one that could be used. Please note that when you use processes you should rely on the engine to do the work as needed instead of trying to use its data base as it might change and thus making your system fragile.

Not sure what is your exact use case but when you store information as part of the process instance that usually means that the process will always have access to it whenever is needed and the process variables can be sent to other systems (like user interface) to interact with other entities.

There is another strategy for handling data within process instance, you can only store data identifiers and provide a service that the engine can invoke whenever the data is needed. That way you make it sort of lazy loading of data as they will be collected only when needed and will not put any overhead when storing those information as they will be relatively small.


Reply to this message by going to Community

Start a new discussion in jBPM at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130729/d281f1f0/attachment.html 

More information about the jboss-user mailing list