Invoke k2 workflow from webservice

  • 28 March 2012
  • 1 reply
  • 4 views

Badge +2

Hi,


We have a requirement where we need to keep poking a database from a webservice to check for new entries and as a new record comes, needs to provide this data to workflow to start.


 Now I am not sure how to do this or is it even possible to invoke workflow from webservice.


Can you please help me in this, if possible provide some type of pseudo code


Thanks


1 reply

Badge +10

Yes i believe it is possible, you would just need to invoke a new process instance using the K2 API.  Check out the sample in the Developer Reference Documnetation


Developer Reference > Processes > Accessing > How to set data fields and start an instance of a process

Reply