I have 2 methods on a workflow service hosted in WorkflowServiceHost.
The first method is called and starts the regular workflow sequence - talking to other web services, database work etc but on some occassions will pause and persist to db (as-in the delay activity) and wait for some human action to take place before continuing.
I need my second method to be able to hook into this persisted workflow, change a local variable and then continuing processing.
I have looked at message based correlation in workflow but can only seem to find examples where some kind of infinite while loop keeps the workflow instance active so that the second service method call can arrive whilst it's still running.
Because my workflow instance will be delayed/persisted, the second service call doesn't seem to get anywhere (I can't have an infinite while loop keeping the workflow instance active).
I hope this makes sense - cheers!