Compartilhar via


A new custom activity sample - PolicyFromFile activity

Maggie, a tester on the Rules team, recently wrote a PolicyFromFile sample. The idea here is similar to the PolicyFromService sample that is part of the ExternalRuleSetDemo, except that the PolicyFromFile activity does not use a database and externalizes rules to a file outside the workflow.

At design time, the activity will read from a specified rules file, or if no .rules was defined, a default .rules file with the same name as the workflow file will be created. The name of the .rules file is set on the RulesFileName property.

Get the sample here.

Comments

  • Anonymous
    February 20, 2007
    Maggie, a tester on the Rules team, has written a PolicyFromFile custom activity which shows how you

  • Anonymous
    February 20, 2007
    Maggie, a tester on the Rules team, has written a PolicyFromFile custom activity which shows how you

  • Anonymous
    February 20, 2007
    Hi Kavita, I have also published some tutorials on my Blog. Let me know your feedback. http://DotNetWithMe.blogspot.com vikas goyal

  • Anonymous
    February 21, 2007
    thanks vikas. its a detailed walkthrough of rule conditions for a beginner - looks good.