giovedì 12 aprile 2012 03:21
is it possible to pause a running workflow explicitly not using delay in workflow.
i am running this workflow on a wcf service..
Tutte le risposte
lunedì 16 aprile 2012 08:10Moderatore
You can change the workflow status by using WorkflowControlClient.
Workflow Control Client
lunedì 16 aprile 2012 09:51
my problem is that i am using WorkflowApplication to run a workflow. i want to pause the workflow through a button . i am using wcf service on which i am having workflow application object.
in order to pause the workflow i can use workflowapplication.unload method .. but problem that i am facing is that how i can initalize the workflow with runtime id.. as if i write
workflowapplication wapp=new workflowapplication ()..
it automically assigns an id to it...i cant use callback or
InstanceContextMode.Single to have workflow application object state..
mercoledì 18 aprile 2012 10:00Moderatore
Yes, the WorkflowApplication always assign a generated Id to it. As far as I know, there is no way to specify the runtime Id manually in WF4. We must retrieve the workflow instance's id and send it back to client for controlling workflow states.
Pausing and Resuming a Workflow
- Contrassegnato come risposta LeoTangModerator lunedì 23 aprile 2012 00:44