Which design template is suitable for this workflow requirement?

I have a requirement when I have a set of tasks that will be performed from the screen (each task may take hours to complete), and I need to introduce some rules for completing these tasks. it can be represented using a graph.

  • each task is assigned a serial number, and tasks must be performed sequentially
  • however, there are many tasks that can be performed in any order, and each of them can have its own path. for example, as soon as A and B are finished, D, E, F can be started in any order, but there can be such a rule as G can be started only after D is done, H can be started only after E is done something like that.
  • some tasks may be performed if any of their previous parallel tasks is successful. if tasks A, B, C, D and A, B, C can be performed in any order, and D can be performed only if A or B or C are completed.
  • some tasks can be performed only if all previous parallel tasks are completed. in the example above, for example, a rule of type D can be satisfied if A and B and C are completed
  • there are some control points that mean that after the completion of the task of the control point, none of the previous ones can be restarted, including the task of the control point.

- , . - E = (A B) OR (C D); , E , A B . OR C D .

, : , ? , . Windows , , , .

: ASP.NET 3.5, # 3.0, SQL Server 2008

0
5

, . , .

0

, Workflow Foundation, WF4 WorkflowApplication, .

" WPF" " Windows" : http://www.packtpub.com/article/hosting-workflow-applications-microsoft-windows-workflow-foundation-40

0

, , , , . , .

, , , . - . , , , , , , .

, , .

0

, . Priority Queue , , . , .

0

Source: https://habr.com/ru/post/1774935/


All Articles