Maciej Swiderski [
https://community.jboss.org/people/swiderski.maciej] created the
discussion
"Re: Using jBPM as state machine engine - is it a good idea?"
To view the discussion, visit:
https://community.jboss.org/message/778758#778758
--------------------------------------------------------------
In theory I think it would be doable but you need to remember that ProcessInstanceInfo is
not the only table used by process runtime, we have WorkItemInfo, SessionInfo, etc. So
doing it all would be rather significant change. And even if you do it then I think you
won't be able to use process instance state to represent your business state as it is
used internally and has some predefined values that must be kept. So you would still need
to use process variables to store some data that will be used by the process instance
(evaluate rules, etc)
What is the issue with having jbpm tables in your data model? Note that they can be in
separate schema/db.
HTH
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/778758#778758]
Start a new discussion in jBPM at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]