![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
br> br> |
| |||||||
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Guest | Windows Workflow Question I am trying to modify the ordering state machine sdk example. I add a new event to IOrderService event EventHandler<OrderEventArgs> OrderStatusChange; And then to the OrderEventArgs I added another property public string OrderNextStep Then, in a state machine I added a new evenDrivenActivity that contains handleOrderStatusChange with an external event handler. This binds e the OrderEventArgs parameter to a member variable in the parent activity, which is a new OrderStateActivity, which is a custom activity that inherits from StateMachineActivity with only an additional property for storing the event argument. After catching the event I have an ifElseActivity that does branching do different states based on the string value of OrderNextStep which is supposed to be binded to the OrderStateActivities property. Unfortunately, in my declarative condition in the ifElseActivity I can't seem to access the property on the OrderStateActivity. I am hoping someone can see what I am doing wrong from my description. Basically, what I am trying to do is to catch an event with a handleExternalEvent activity and then feed the event to an ifelsebranch which will setstate based on a string property in the event. |
My System Specs![]() |