WF/WCF CorrelationHandle with Entities

I recently was helping someone out who was having trouble with setting correlation for workflow instances. He wanted to pass in an entity as a property to a service call correlating with other service calls. This can simply be done by setting up the correlation based on a unique value of the property. For instance, if  Candidate.CandidateId is unique and you need to pass in the entire Candidate object, you can set the "CorrelatesOn" property, "Query" to just the CandidateId of the object being passed in.  You will also see a "Key" property within the "CorrelatesOn", this property needs to match the other correlated set "Key" properties.

Currently rated 2.3 by 28 people

  • Currently 2.321429/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Posted by: BayerWhite
Posted on: 5/31/2011 at 9:13 AM
Actions: E-mail | Kick it! | DZone it! | del.icio.us
Post Information: Permalink | Comments (0) | Post RSSRSS comment feed
Comments are closed