c# - Windows Workflow Foundation Pause By Id -
is possible pause running workflow if info have id of process?
workflowapp.run(); var workflowid = workflowapp.id;
my requirement have web app multiple users can start , pause processes, , id of processes stored in database.
as far can tell need reference system.activities.workflowapplication
pause application follows:
workflowapp.unload();
how can phone call unload()
pause running process if have id of running process?
i've noticed entry process added [system.activities.durableinstancing].[instancestable]
when calling unload() method.
if utilize workflowapplication run workflow responsible managing it. can utilize workflowservicehost if want delegate responsibility , utilize workflow command endpoint unload or suspend workflow instance id.
c# workflow-foundation-4
No comments:
Post a Comment