cancel
Showing results for 
Search instead for 
Did you mean: 

Meta -Data Driven workflow

hemamalini
Champ in-the-making
Champ in-the-making
I need to know how can i model this.  I have a table (A file) where Five user tasks was assigned and it should be assigned to a group . Group details will be mentioned there. Reading that table my process should be defined on the fly. Is that possible
3 REPLIES 3

jbarrez
Star Contributor
Star Contributor
Yes, you can use taskListeners on the 'create' event to do that.

hemamalini
Champ in-the-making
Champ in-the-making
Thanks.. can you please provide me any example or how we can use task listeners. Will the task listeners can be used to create task dynamically?

jbarrez
Star Contributor
Star Contributor
I was hoping the user guide would have enough examples? http://activiti.org/userguide/index.html#taskListeners

But reading your question again, i think i misread it the first time. So you have a table with info and that needs to become a process definition?
If so, you will need to look into the BpmnModel classes. It can create a process definition using Java pojo and deploy that to the engine.