wcf - Correlation in WF 4 on workflow InstanceId -


in windows workflow foundation under .net 4.0, there way correlate operations based on instanceid (guid) of long-running persisted workflow?

for example:

  1. operation 1 creates workflow instance, returns workflow instance id client
  2. client may later query instancestore database retrieve instanceid instances view
  3. client calls operation 2 , passes instanceid content-based correlation

i can of if have client create , pass guid first operation, use value in content-based correlation, promote value when persisting. seems redundant, though, since workflow creating guid instance.

create activity retrieve workflow instance id context passed in , return sendreply activity. next use correlationinitializer on sendreply setup request correlation.


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

html - Instapaper-like algorithm -

c# - How to execute a particular part of code asynchronously in a class -