Adding new task in activiti diagram while process already started

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2015 01:23 AM
I am new in Activiti. *sorry*
What I am trying to find out is it possible to add a new task in the diagram while the initial process is already deployed?
I believe that you can add task/subtask inside the program, but the difference here is, if you would like to add a task node in the diagram, and deploy it as a new version of the process, how can the program can adapt to the newly deployed process?
Thanks in advance!
What I am trying to find out is it possible to add a new task in the diagram while the initial process is already deployed?
I believe that you can add task/subtask inside the program, but the difference here is, if you would like to add a task node in the diagram, and deploy it as a new version of the process, how can the program can adapt to the newly deployed process?
Thanks in advance!
Labels:
- Labels:
-
Archive
2 REPLIES 2

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2015 02:53 AM
Are you using the Activiti Designer or XML? Or do you want to use the Java based BpmnModel to change the existing process definition? In case of the BpmnModel you can get the existing instance with the RepositoryService and then change the model like you want to. The changed BpmnModel can then be deployed using the RepositoryService.
Best regards,
Best regards,

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2015 03:14 AM
Actually I am using the Activiti Designer. Is it possible to edit the diagram using the Activiti Designer, and then deploy it as a replacement on the existing process definition? What adjustments should be done in the program to adapt on it dynamically?
Because in my samples I have constant task ids because I know the whole process. But now, how can I know if the there is a new task available on the updated process definition dynamically since the addition of new task is not known?
Thanks again..
Because in my samples I have constant task ids because I know the whole process. But now, how can I know if the there is a new task available on the updated process definition dynamically since the addition of new task is not known?
Thanks again..
