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.

HTH
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/830155#830155]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to