none
Windows Workflow Foundation - Does it support simple business rule engine funtionality RRS feed

  • Question

  • Hi All,

    We have a simple set of business rules which needs to be imlemented at different stages of my business process.
    I need to know whether:-
    1. Can I put business rules inside activities and at decision points while creating workflow using Visual Studio workflow editor.I presume that WF has an inbuilt business rule engine
    2. What flexibility does the windows workflow foundation offer in terms of changing the business rules implemented in it. Can we change the whole business rule or at least parameters(numbers in a business rule e.g. from 20 to 70) of a business rules at run time defined inside workflow foundation. Please provide details on how it can be done(Is there some XML file where Workflow foundation store its business rules for a defined workflow).

    Thanks for your help
    Cheers
    TicArch
    Monday, August 10, 2009 5:46 PM

All replies

  • Greetings,

    In .Net 3.5 , it is possible to create business rules. You should use .net framework 3.5. The VS 2008 is must for this purpose.

    Refer  the book detail which is given below

    Pro WF: Windows Workflow in .NET 3.5 By Bruce Bukovics

    Take Care

    PL
    Thursday, October 15, 2009 5:19 PM
  • More Stuff:

    Windows Workflow Foundation can implement business logic as either rules or conditions. Conditions are used by IfElseBranchActivity, ConditionedActivityGroup, WhileActivity, and ReplicatorActivity activities to control activity execution. Conditions can be expressed as declarative, or defined in code. Declarative conditions are created as code DOM statements in the rules' XML file. Code-based conditions reference a method in the workflow's code file that returns its result through the Result property.

    Overview of WF Rules:

    http://msdn.microsoft.com/en-us/library/aa348711.aspx

    Regards,
    Jai
    Saturday, October 17, 2009 6:01 AM