Have a dynamic task which task name and the role user is come from database, this dynamic task will be call by itself base on some conditions.
the diagram as following :
|<————-|
(start) - [dynamic task] - <X> - (end)
<X> : is a gateway
Question is :
how to create [dynamic task] and assign the variable from database to it?
should i create a empty node and set a start event at [dynamic task]. when enter this node will create a task and set role and name to it or activiti have existing task object to handle it?