0

i need to create rule in Windows Workflow Foundation without using RuleSet editor. Maybe i didnt search enough on google but i cant find any examle of this.

Example of desired result:

var ra = new List<RuleAction>();
ra.Add(new RuleAction());
var rc = new RuleCondition();

var rule = new Rule("test", rc, ra, null);

Thanks ahead

aron
  • 1,874
  • 5
  • 23
  • 29

1 Answers1

2

I think this blog-post answers your question: Programmatically Create Windows Workflow Rules

pan
  • 44
  • 2