Is it possible to attach a workflow to a list template?

  • 31 January 2019
  • 1 reply
  • 1 view

Badge +5

I want to use a site workflow to create a discussion list once a month. I can use the "Create list" option for the site workflow and it allows me to chose a template to build the site from. However, i need the new list to have a workflow. The workflow is the same for every list that will be created. 

Is there a way to create a discussion list that has the nintex workflow attached and then save it as a template to be used by the site workflow monthly?


1 reply

Userlevel 5
Badge +13

I have run into this scenario previously.  I was able to solve it by creating the list in a new site and then publishing the workflow to the new list by calling the Nintex Workflow Web Service.  You could store a copy of the exported workflow (.NWF file) in a library and use the PublishFromNWF method in the web service to publish the workflow.  The service endpoint for the web service is in the format of:

 

http://<yoursite>/_vti_bin/NintexWorkflow/Workflow.asmx

 

Here's a link to information about the Nintex Workflow Web Service: Nintex Workflow Web Service Methods

Reply