how to get state machine current state from code activity

476 Views Asked by At

I need some help in how I can get the current state of my state machine so that I can return it as part of a Receive Send Reply Activity

So I have a WCF method that triggers a state public string GetResults(int id) I want in the workflow to get the current state and return as a string

I have looked here and this allows the States to be logged to the output but how do I access this through code.

Thanks

0

There are 0 best solutions below