What is the workflow structure to use in C #

I need to create a C # workflow capable of moving an object (stored as a database record) through an approval workflow where people have to perform some kind of action or validation.

At first we looked at the Windows Workflow Foundation, but shied away from it because it seemed so heavy for the infrastructure (and besides, we don't really like Microsoft products). We looked at ObjectFlow because it is lightweight, but it’s hard for me to figure out how to persist and resume workflow states. It seems to be too light.

Does anyone have a favorite workflow environment? I am open to ideas (even to WWF, if you can explain why this is your favorite).

+6
workflow
source share
2 answers

Since the @gsharp question is related to expression, WF 4 is not quite easy to use. However, ObjectFlow has a lightweight free interface, lightweight and built with strong design principles. Given the apparent lack of a decent workflow framework, I decided to transfer and extend ObjectFlow using the IStatefulWorkflow file, which contains the .Yield() method, which can process the workflow of the calling method so that its state is preserved.

The end result of my work will be a new release in codeplex in a couple of weeks. Until then, you can follow my progress on github .

+3
source share

Have you watched Drools.Net ?

Drools.NET is a business rule engine (BRE) based on the Charles Forge Rest algorithm. Developers can now use the powerful Rule Engine through a fully managed .NET code base! Drools.NET is based on Jboss rules and contains all the functions of this rule engine.

0
source share

All Articles