Dynamic Task Creation & Back/Forward Functionality

Hello Camunda team,
In our company we are going to setup new business process.
Our process is very strange and I will try to explain:

  1. process has about 20 tasks (all of them are user tasks.) Every tasks is executed by different people from different department. By default most of the tasks is sequential and depend each other.

  2. Business request that process should be able to go back from any User task to any previous user task. for example if process is into 15th task, user can return process into 2nd task. somehow this task must be create again … and when second task will be completed process should return to the 15th task.

  3. Also sometime they need return process in a multiple previous position. for example from 15th task to 2nd and 10th tasks, and when both task will be completed process must return to 15th task.

for this case we give the business possibility to draw their minds and request on a paper.
they draw it. tasks names is not in English but it doesn’t meter what is the tasks, main problem is find correct concept how to assemble process :

I thought few days and draw BPMN diagram like that :

FTTB.bpmn (33.3 KB)

I mean that, diagram is not sequential and not looks like what the business requests, but I think it will work technically. Main idea here is that task ordering must be defined outside of a bpmn (somewhere, for example into db). And which task must be completed into next step will be defined into DMN table. Somehow it will be cycle process before all the tasks will be completed.

Is it best solution or maybe someone hint some other better solution ?

Any idea will be appreciated.
Thanks in advance.

Regards,
Paata.

Hi,

Given the dynamic nature of your process, you may want to consider Case Management (CMMN).

With CMMN, you could setup all your user tasks as discrete items. This then gives you the ability to manually activate them when necessary. You can also create rules and dependencies between tasks…

In my experience, CMMN is initially a little challenging to get your head around, but once you do, its extremely powerful.

Note that (IMHO) to use the full power of CMMN in tasklist, you need to write an embedded form which acts as a single page app. Here’s an example of what I mean. This form shows available plus completed tasks for example…

Here’s a consulting example…

regards

Rob

3 Likes

Thank you very much for your quick reply.
I will try to deep dive into CMMN landscape.

Regards,
Paata.