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:
- operation 1 creates workflow instance, returns workflow instance id client
- client may later query instancestore database retrieve instanceid instances view
- 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
Post a Comment