Lesson Learned-Workflow Template ID changes

Jun 27, 2011 at 3:04 PM

FYI, every time you edit a workflow in SPD 2010, a new TemplateID is created. This means that you have to change any code that uses the StartWorkflow function in SP Services. I remember reading this somewhere, but i had forgotten it and it took me a while to figure out why my workflow had stopped firing. Hope this helps someone else


Jun 27, 2011 at 5:06 PM

What you can do is lookup the templateID using a different web service function.  There's a trade off doing this, you'll have to "hardcode" the workflow's name, instead of the GUID.  I think it's much better to do this anyway, since workflow names rarely change.

Have a look here:


Once you get the GUID, then you can pass it into your StartWorkflow web service call.