cancel
Showing results for 
Search instead for 
Did you mean: 

Activiti task database driven.

sabir_s
Champ in-the-making
Champ in-the-making
Hi,
Is there way i can read my workflow steps from database instead of xml configuration.

Thanks,
Sabir
8 REPLIES 8

ronald_van_kuij
Champ on-the-rise
Champ on-the-rise
Sure, if you 'deploy' the process definition, it is in the database and will be read from there. But I do not think that is what you want or mean. Why would you want to create something like this in the database and not use the xml definition?

sabir_s
Champ in-the-making
Champ in-the-making
Sure, if you 'deploy' the process definition, it is in the database and will be read from there. But I do not think that is what you want or mean. Why would you want to create something like this in the database and not use the xml definition?

We have a requirement that we want to divide our workflow in user define components.We call them Project->Sub Project->Action.Action is the smallest unit of work where we can plug in actual executable code.(It can be web service,Simple rule or simple java code).For that we have build our own UI component to manage Project->Sub Project->Action components.
These components stored in the database.We are looking for a workflow engine which can pick Project->Sub Project->Action from database and execute them in the defined execution order.User can halt/resume task from UI.

ronald_van_kuij
Champ on-the-rise
Champ on-the-rise
where is the order defined? If you take a look at activiti kickstart, you can see that you can create a 'flow' in a webapp and runtime put that in the engine. Just create xml from your 'flow/components' and store that…. much easier I think

sabir_s
Champ in-the-making
Champ in-the-making
where is the order defined? If you take a look at activiti kickstart, you can see that you can create a 'flow' in a webapp and runtime put that in the engine. Just create xml from your 'flow/components' and store that…. much easier I think

Thanks Ronald,
It has certainly given me a direction.
I'm very new to Activiti.I can easily convert my Object model to XML(e.g Using JAXB).Any raw xml would work in that case?

ronald_van_kuij
Champ on-the-rise
Champ on-the-rise
I'm very new to Activiti.I can easily convert my Object model to XML(e.g Using JAXB).Any raw xml would work in that case?

No, not 'any raw xml', BPMN 2.0 xml

sabir_s
Champ in-the-making
Champ in-the-making
I'm very new to Activiti.I can easily convert my Object model to XML(e.g Using JAXB).Any raw xml would work in that case?

No, not 'any raw xml', BPMN 2.0 xml
IS there any tool or example available to convert java object to BPMN 2.0 compliant xml?

ronald_van_kuij
Champ on-the-rise
Champ on-the-rise
Well, I mentioned 'kickstart' , but ofcourse the designer and modeler also do this.

sabir_s
Champ in-the-making
Champ in-the-making
Well, I mentioned 'kickstart' , but ofcourse the designer and modeler also do this.

Where can i find the kickstart code? I'm not able to find it Activiti repository