cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Workflow Hero

Getting the workflow guid using the Nintex Webservice

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.

Labels: (1)
0 Kudos
Reply
2 Replies
Workflow Hero

Re: Getting the workflow guid using the Nintex Webservice

can you first SaveFromNWF (it acc. SDK returns WFID) and just then publish it?

Accept as Solution Reply
Workflow Hero

Re: Getting the workflow guid using the Nintex Webservice

Hi Ryan,

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...

Jan

Accept as Solution Reply