Meta -Data Driven workflow
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-08-2014 02:46 AM
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
Labels:
- Labels:
-
Archive
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-10-2014 06:53 AM
Yes, you can use taskListeners on the 'create' event to do that.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-10-2014 07:15 AM
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?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-18-2014 02:17 PM
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.
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.
