Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Resume bookmark against workflow service

I'm using WF4 and have a workflow service in which I have created a custom activity that creates a bookmark to wait for additional user input. When hosting the workflow with a WorkflowApplication I can simply call ResumeBookmark to pick up processing where I left off but I can't seem to figure out how to resume a bookmark when the workflow is being hosted as a Workflow Service.

Any guidance would be really appreciated.

like image 230
joshb Avatar asked Aug 17 '11 06:08

joshb


1 Answers

You need to create an activity extension implementing the IWorkflowInstanceExtension interface and use the BeginResumeBookmark()/EndResumeBookmark() functions provided by the WorkflowInstanceProxy. See here for a simple example.

like image 97
Maurice Avatar answered Oct 06 '22 06:10

Maurice