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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With