This project is read-only.

current state

Jun 8, 2010 at 7:43 AM


How could I get the current state of a state machine inside a workflow?

Thank you


Jun 8, 2010 at 11:04 AM

If you mean to update you presentation layer everytime the state change, the best way is to use a durable duplex communication.


Jun 9, 2010 at 9:36 AM

My will is to query a running instance of a workflow an get the name of the current state inside a state machine.

Actually, I'm able to track the current state of a state machine using a Workflow Extension and custom activity, but I would like to know if there is a better way to do it.

Jun 9, 2010 at 10:05 AM

I think that what I really need is tracking, but it seems that it's not supported by this CTP.

I hope a new release will be available soon.

Jun 10, 2010 at 2:29 AM

As a workaround, you could implement a customized Track activity and put it into Entries of states.