quinta-feira, 12 de abril de 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..
Todas as Respostas
segunda-feira, 16 de abril de 2012 08:10Moderador
You can change the workflow status by using WorkflowControlClient.
Workflow Control Client
segunda-feira, 16 de abril de 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..
quarta-feira, 18 de abril de 2012 10:00Moderador
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
- Marcado como Resposta LeoTangModerator segunda-feira, 23 de abril de 2012 00:44