TomaszPoszytek
Automation Master
Automation Master

Where is GUID that represents the identifier of the workflow?

Jump to solution

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

0 Kudos
Reply
3 Replies
gonzalo_marcos
Nintex Employee
Nintex Employee

Re: Where is GUID that represents the identifier of the workflow?

Jump to solution

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!

View solution in original post

Reply
TomaszPoszytek
Automation Master
Automation Master

Re: Where is GUID that represents the identifier of the workflow?

Jump to solution

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

0 Kudos
Reply
TomaszPoszytek
Automation Master
Automation Master

Re: Where is GUID that represents the identifier of the workflow?

Jump to solution
0 Kudos
Reply