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 (4)

  1. Maggie, a tester on the Rules team, has written a PolicyFromFile custom activity which shows how you

  2. Maggie, a tester on the Rules team, has written a PolicyFromFile custom activity which shows how you

  3. vikasgoyal77 says:

    Hi Kavita,

    I have also published some tutorials on my Blog. Let me know your feedback.

    http://DotNetWithMe.blogspot.com

    vikas goyal

  4. rulesteam says:

    thanks vikas. its a detailed walkthrough of rule conditions for a beginner – looks good.