I need to stop the execution Is there any procedures for using terminate and suspend activity
+2
A:
This sample at the microsoft website should help you with the suspend and terminate Activity
Binoj Antony
2008-12-10 09:02:25
+1
A:
It depends exactly what you want to do. There is a Terminate Activity will terminate the workflow instance that is running and has reached that activity. Once terminated, that workflow will be dead and will never be restartable.
Suspend is something you can call on a WorkflowInstance e.g.
WorkflowInstance instance = runtime.GetWorkflow(instanceId);
instance.Suspend("Paused for some good reason");
// do something here
instance.Resume();
gbanfill
2008-12-10 17:24:06
A:
If I am using sql persistence service, for example when working with long running workflows, when the suspend activity is executed the workflow instance is persisted. How can I resume this instance?
Paulo
2010-10-19 11:21:09