views:

220

answers:

1

At the moment I am using fault handlers to break out of execution e.g:

State1: HandleExternalEvent -> MyCode (possibly throw exception) -> Change state2

->Fault handler ->no code (i.e stays in state1)

However I am suffering from a performace hit, is there away to perform the same action without using exceptions/fault handle, like a cancel or return method

Thanks.

A: 

You can use the SuspendActivity to pause a workflow, and then maybe interact with it later through a ReceiveActivity or something similar.

Joon