Activiti 6 : Create new task instance to process instance which is not predefined in workflow

cancel
Showing results for 
Search instead for 
Did you mean: 
svadaviya
Member II

Activiti 6 : Create new task instance to process instance which is not predefined in workflow

Hello Guys we are using activiti bpm 6.

How can we achieve creation of a new task in a running process? We have a use case where the process is created per a pr-defined model but a user can decide that there is an additional task that must be added for completion to the the running instance based on some business criteria. How can this be achieved?

Any help is really appreciated.

Thanks in advance

1 Reply
abbask01
Senior Member

Re: Activiti 6 : Create new task instance to process instance which is not predefined in workflow

why not have the task made already (defined in the model), and delegate to that task only if the user selects using an exclusive gateway.

If you still want to try dynamic creation have a look at this blog

Regards,
Abbas