Solved

Where is GUID that represents the identifier of the workflow?

  • 10 January 2017
  • 3 replies
  • 22 views

Userlevel 7
Badge +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

icon

Best answer by gonzalo_marcos 11 January 2017, 16:55

View original

3 replies

Badge +4

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!

Userlevel 7
Badge +17

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

Userlevel 7
Badge +17

So it seems it's official now

http://help.nintex.com/en-us/sdks/sdko365/Walkthroughs/WK_Prc_0365_HowTo_Find_WorkflowId.htm

Reply