calling workflow/process from webmethod.

  • 27 May 2009
  • 1 reply
  • 1 view

Badge
I have a requirement to create a workflow/process contains activities. Each activity needs to call a method encapsulted in some other VB.NET class. I need create invoke this process/workflow from a method in webservice. In that webmethod i need to pass the request parameter to workflow/process and fetch the output parameter from the process/workflow and send to the webmethod consumer. How can i implement the above scenario in K2 BlackPearl. Please guide me or refer some tutorials. 

1 reply

Badge +8

Check out the K2 blackpearl Wrox book.  In the ASP.net chapter we wrote code on how to created process instances, retrieve process instances and action process instances.  You can use all that code in a web service like what you are suggesting.


Check it out.


Jason

Reply