locked
Work flow in business rule engine RRS feed

  • Question

  • Dear Friends ,

                       How to create the work flow in business rule engine,please give the sample application.


    AarthiPalanisamy

    Friday, March 30, 2012 8:34 AM

Answers

  • Hi,

    this site should help you - http://www.nilzorblog.com/2011/11/using-wf4-as-rule-engine.html

    If not, you should provide some more information on what you want to achieve.


    Best Regards. When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer. This helps us build a healthy and positive community.

    Friday, March 30, 2012 10:23 AM
  • Do you use WF as a business rule engine or do you use the business rule engine in your workflows? There are some differences. For the first have a look at your workflows and try to apply them to your WF workflows. For the second go back to the link I provided above.

    With WF4 there were a lot of changes. I've written a short example how to use WF in ASP.NET a while ago - http://code.msdn.microsoft.com/Getting-Started-Windows-c0d4a596 - In this example you can see how to integrate workflows into your website/layer. The link you have provided doesn't help very much, because State Machine Workflows are not part of the (initial) WF4 release, but they will come back in the next version (with .NET 4.5).

    The usage of Activity, Code Activity, or the Activity Designer depends on your requirements. If they can be achieved through the standard components of WF4 there's no need to write custom activites (so the Activity Designer should be the preferred choice). If not, look at your requirements and decide which base class do you want to use for your custom activity.


    Best Regards. When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer. This helps us build a healthy and positive community.

    Friday, March 30, 2012 3:13 PM

All replies

  • Hi,

    this site should help you - http://www.nilzorblog.com/2011/11/using-wf4-as-rule-engine.html

    If not, you should provide some more information on what you want to achieve.


    Best Regards. When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer. This helps us build a healthy and positive community.

    Friday, March 30, 2012 10:23 AM
  • Hi friend,

                 I need to create the workflow in business rule engine in Visual Studio 2010 with C#.

    Am using Layered architechture,My layers are Business,Data,Service(WCF),Presentation.My poject is web project.

    I have to apply the work flow in business layer for my business rules,how to apply it.Please give

    me the sample.

    I have downloaded the samples from following link,In that samples belongs to Visual studio 2005.

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

    I tried in Visual Studio 2010 it is entirely different,so please explain me that how to open and the work flow in 2010 .

    Activty,Activity designer,Code Activiy which file is best for Business rule and how to use it.

     

    AarthiPalanisamy

    Friday, March 30, 2012 11:10 AM
  • Do you use WF as a business rule engine or do you use the business rule engine in your workflows? There are some differences. For the first have a look at your workflows and try to apply them to your WF workflows. For the second go back to the link I provided above.

    With WF4 there were a lot of changes. I've written a short example how to use WF in ASP.NET a while ago - http://code.msdn.microsoft.com/Getting-Started-Windows-c0d4a596 - In this example you can see how to integrate workflows into your website/layer. The link you have provided doesn't help very much, because State Machine Workflows are not part of the (initial) WF4 release, but they will come back in the next version (with .NET 4.5).

    The usage of Activity, Code Activity, or the Activity Designer depends on your requirements. If they can be achieved through the standard components of WF4 there's no need to write custom activites (so the Activity Designer should be the preferred choice). If not, look at your requirements and decide which base class do you want to use for your custom activity.


    Best Regards. When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer. This helps us build a healthy and positive community.

    Friday, March 30, 2012 3:13 PM
  • Hi Friend,

               In my layered application there is seperate solution to write the business rules,we are getting Data Access layer methods to business layer,and i have to apply the business rules to this methods,if it posible to applly the workflow here.


    AarthiPalanisamy

    Saturday, March 31, 2012 4:34 AM