I'm working on a solution that is using the Nintex web service, I'm able to add a workflow using PublishFromNWF. I'm trying to use the DeleteWorkflow operation but don't know the workflow guid, just the name. Is there a way to get guid of the workflow using the name/list guid? I know I can get the workflow guid from the workflow settings URL but the solution will be on multiple sites so it have to be done in the code.
You can use the ExportWorkflow method in the web service and if you parse the xml that's returned you'll find a "WorkflowId" node with the guid in it.
The ExportWorkflow method takes the workflow name, list name and workflow type (site,list) as parameters, the help for it is here, http://help.nintex.com/en-US/sdks/SDK2013/#Reference/SOAP/NW_REF_SOAP_ExportWorkflow.htm%3FTocPath%3...