title: How to start SharePoint 2010 workflow from Infopath 2010 code behind?
body: <p>I have an Infopath 2010 template with 2 buttons: submit and cancel. When the submit button is clicked I the form is saved to a document library in SharePoint 2010 and the corresponding workflow is clicked off. The user can then open the form and cancel the request by clicking on cancel. I would like to start a different workflow when cancel is clicked. Any ideas as to how that could be done?</p>
  
  <p>Thanks</p>