Jon Flanders' Blog

Silverlight calling Workflow Services

Wednesday, June 25, 2008 2:39:15 AM (GMT Standard Time, UTC+00:00)

One question I was asked during my web cast yesterday about calling WCF services from Silverlight is if the service could be a workflow service.  I said - "Of course" - not knowing that it was a little more complex than that :)

That said - here is a sample.

SilverLightUsingWorkflow.zip (535.08 KB)

Unfortunately I don't have time to go into the details right now - working on another project at the moment. The key to making it work is setting the instanceid context to null on the server when the "last" operation is called - in this case the operation implemented inside of the eventhandler which causes this state-machine workflow to move to the completed state (so that the client can then start a new workflow).

I hope to find an more elegant and automatic solution - but this works for now (Hope you are listening Jason from the webcast - this ones for you ;-))

 |  |    #    Comments [4]   

Navigation

Books

Courses

Search

Subscribe

  • RSS 2.0
  • Add to Windows Live button
  • Add to Google button
  • Add to MyMSN button
  • Add to MyYahoo button
  • Add to Bloglines button
  • Add to Newsgator button