Skip to main content
Nintex Community Menu Bar
Solved

Where is GUID that represents the identifier of the workflow?

  • January 10, 2017
  • 3 replies
  • 55 views

TomaszPoszytek
Forum|alt.badge.img+17

Hi!

 

According to the Nintex Workflow for O365 REST API documentation, if I want to use the method to import workflow into the existing one I should provide the GUID of the existing workflow (http://help.nintex.com/en-us/sdks/sdko365/Reference/REST/NWO_REF_REST_ImportWorkflowPut.htm) - the question is, how can I obtain it and from where?

 

Second thing - if I'd like to use "Import into new workflow" method, there really is no way to set the imported workflow name? It has to be the same as the exported one? And therefore the only way to import a workflow to a different list/ library in the same site is to create a workflow for that list/ library and then overwrite it using the above mentioned method? Has anyone used the REST API to for example publish workflows on many lists from a single source (maintenance purposes)?

 

Regards,

Tomasz

Best answer by gonzalo_marcos

Hi Tomasz,

I'm not sure if there's a quicker way but if you export the WF you can find the WF GUID in the XML WF definition. You just need to follow the steps below:

1. Export the Workflow

 2. Extract the exported WF to a folder (i'm using 7-zip for this purpose)

3. From the extracted folder open the Metadata.xml file

4. Look for the WorkflowId label

Hope it helps!

3 replies

Forum|alt.badge.img+4
  • Nintex Employee
  • 16 replies
  • Answer
  • January 11, 2017

Hi Tomasz,

I'm not sure if there's a quicker way but if you export the WF you can find the WF GUID in the XML WF definition. You just need to follow the steps below:

1. Export the Workflow

 2. Extract the exported WF to a folder (i'm using 7-zip for this purpose)

3. From the extracted folder open the Metadata.xml file

4. Look for the WorkflowId label

Hope it helps!


TomaszPoszytek
Forum|alt.badge.img+17
  • Author
  • 909 replies
  • January 11, 2017

Oh dear! Isn’t there any easier way? Ok, I will follow your instructions then Thank you.
 

May I ask you to somehow include this information in the API documentation? It would be really useful to have it there

Regards,

Tomasz


TomaszPoszytek
Forum|alt.badge.img+17
  • Author
  • 909 replies
  • January 17, 2017