Tracking an Expression activity in Windows Workflow Foundation

Since the nodes in a Flowchart do not derive from Activity, they do not have the tracking capabilities of activities. However, because Expressions are activities, it is possible to track the Condition property of a FlowDecision activity. The following code demonstrates how to create an Expression that can then participate in tracking.   public class…