Rod Morgan
Rod Morgan

Reputation: 1

WF4 services and Bookmarks

Do bookmarks come into play with WF4 services? It doesn't seem to me that they would. For example a workflow service could have several receive and sendreply activities and state would be persisted after sendreplies.

If I understand things correctly, the correct workflow instance would be loaded back into memory upon receiving a message by using correlation.

Is all of this right?

Upvotes: 0

Views: 837

Answers (1)

Maurice
Maurice

Reputation: 27632

Bookmarks are very much a part of workflow services. In fact under the hood a Receive or a ReceiveReply activity uses a bookmark to pause execution until the expected message is received.

You are correct in assuming that message correlation is used by the WF runtime to find the correct workflow instance to process a WCF request. And if the WorkflowServiceHost is configured to use an instance store and persist workflows there reloading it back into memory is part of the process.

Upvotes: 3

Related Questions