roger-castaldo / BPMNEngine

A BPMN Engine written in .net
GNU General Public License v3.0
121 stars 48 forks source link

Can U provide exmples #4

Closed Diaskhan closed 7 years ago

Diaskhan commented 7 years ago

Hie, its very interesting ! 1.Can U provide examples of Usage ?? 2.BPM engine depends on WF library, or its a clear BPMN ?

  1. What about persistent ? what library do U using for persistent, ef core, nhibernate ?
roger-castaldo commented 7 years ago
  1. Attached is a sample bpmn diagram that would run a vacation request with some validation built in the the library can handle. Outside of the built in components, you would need to implement delegates to handle the different user tasks that get assigned throughout.
    VacationRequest.zip

  2. The engine is completely independent the only real thing required is Jint.dll to handle javascript calls from the system when used. Otherwise it is purely bpmn 2.0 compliant no wf library usage.

  3. Persistence is designed in a purely black box method. The state of the process is stored as an xml document, of which there is a delegate that gets called when the state changes providing a new version of the document. What you do with the document outside of the library is your call. It was designed this way for autonomy in that the library does not care how your build the process or how you interact with the process on the other side of the delegates, or even what you do with the state document, it simply runs the process.