Write a simple workflow system

As part of our application, I need to write a “simple” document management system that will be used to support the document creation life cycle. It should support: - various actions: edit the document, check the document (approve, reject), publish the document ... - assign this activity to different people / users - "parallel separation and unification". For example, I want to support a workflow as follows:

- begin
1.) Create document
2.) Translate document
2.1) Translate into English
2.1.1) Translate document into English
2.1.2) Verify English translation
2.2) Translate into Italian
2.2.1) Translate document into Italian
2.2.2) Verify Italian translation
3.) Verify complete document
4.) Publish document
- end

It will be used in an asp.net application (C #).

The final part: I would like to know if there is any template, library or article that will help me get started with this task? Will WWF match this?

( stackoverflow), , parallelism?

+3
6
+4

WF Virtual Labs. , , WF , . , K2, .

+2
0

, . , . - cocoa.

BPM- ( JBPM java, ASP ). , , xml file.Each Approver - node, node , node . .

 ASP . . , . , , "has_approved", , has_approved = 1.

, , . , BPM, , , .

0

. , .

, (). , ( ) . , . ( " " ). .

- : http://en.wikipedia.org/wiki/State_machine

, , , . . .

:

Assign a number to each document so that you can track it and assign it a status showing where it is in your process. Usually both of them are executed with a number, but not necessarily.

Something like that:

public class document
{
  public int documentId;
  public String documentStatus;
}

// create a new document to track
document doc = new document();
doc.documentId = 42;       // arbitrary id#
doc.documentStatus = "1";  // document is at the start of the process
0
source

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


All Articles