Nintex for Office 365 Forum
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results forÂ
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
Solved! Go 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!
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
So it seems it's official now
http://help.nintex.com/en-us/sdks/sdko365/Walkthroughs/WK_Prc_0365_HowTo_Find_WorkflowId.htm