This topic has not yet been rated - Rate this topic

Workflow Changes to Rule Conditions

If your workflow uses declarative Rule Conditions or Policies, you can modify the behavior of your workflow at run time, without having to recompile, by using workflow changes on your conditions and rulesets.

The Condition property on the WhileActivity, IfElseBranchActivity, ReplicatorActivity, and ConditionedActivityGroup activities cannot be changed at runtime; however, if the Condition property refers to a rule condition, then you can use workflow changes to change the rule condition's definition. The same applies to the RuleSetReference property on PolicyActivity -- you cannot dynamically change the name of the RuleSet that gets executed, but you can use workflow changes to change the RuleSet definition.

Any changes you make to the rule conditions are serializable and will be saved if your workflow is persisted.

ms735780.note(en-us,VS.90).gifNote:
Any workflow changes that you make are specific to the running instance; they do not affect new instances of the workflow.

See Also

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.