Skip to main content
Nintex Community Menu Bar
Solved

Attach workflow to library Programatically

  • May 31, 2017 11:05 AM UTC
  • 4 replies
  • 41 views
  • Translate All

Forum|alt.badge.img+1

Is there any way to import the Nintex workflow o365 backup file (.nwf) to a library using CSOM ?

Best answer by TomaszPoszytek

Sure, you can use nintex o365 rest api‌ and the method "Import into a new workflow": http://help.nintex.com/en-US/sdks/sdko365/#Reference/REST/NWO_REF_REST_ImportWorkflowPost.htm%3FTocPath%3DNintex%2520Off… 

This should work for you

Regards

View original

4 replies

TomaszPoszytek
Forum|alt.badge.img+17

Sure, you can use nintex o365 rest api‌ and the method "Import into a new workflow": http://help.nintex.com/en-US/sdks/sdko365/#Reference/REST/NWO_REF_REST_ImportWorkflowPost.htm%3FTocPath%3DNintex%2520Off… 

This should work for you

Regards

Translate

Forum|alt.badge.img+1
  • Author
  • May 31, 2017 1:48 PM UTC

Thats Great!! Tomasz. 

Could you also suggest, how can we get the Workflow ID. I can see ID is mandate in the REST API for exporting the workflow

Translate

TomaszPoszytek
Forum|alt.badge.img+17

Its easy

  1. export  the workflow manualy,
  2. open the file with 7z or WinZip (It's an archive),
  3. go to the metadata.xml file,
  4. open it and there you will find workflow guid 

 Easy, isn't it? Now you can use it in your workflows. 

 Regards, Tomasz

Translate

Forum|alt.badge.img+1
  • Author
  • Jun 1, 2017 10:34 AM UTC

You saved my day Tomasz!! Thanks

Translate