This is for SP2010. I'm trying to implement a "launch" button for a workflow, inline in a SharePoint list. I do not want the users to go to the "Workflows" page, they want to click a button while viewing the desired list item in a list view.
I can render a button within a list row/column using jQuery, and I've got a URL that will launch the correct list workflow for the given item. The challenge facing me is that the ID of the workflow changes whenever the workflow is edited, as the previous ID now points to a previous workflow.
Can I query (either via REST or some other web service) for a list workflow's ID, given the workflow's name?