Resume bookmark in workflow service

I use WF4 and have a workflow service in which I created a user activity that creates a bookmark to wait for additional data to be input. When hosting a workflow using WorkflowApplication, I can simply call ResumeBookmark to pick up the processing where I left off, but I cannot figure out how to resume bookmarking when the workflow is hosted as a Workflow service.

Any guidance would be truly appreciated.

+6
source share
1 answer

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

+6
source

Source: https://habr.com/ru/post/895225/


All Articles