cdesai
Nintex Newbie

How to run workflow in Site or List creation

Is there any way to start nintex workflow at Site Creation or list/library creation?

0 Kudos
Reply
1 Reply
philipplucas
Automation Master
Automation Master

Re: How to run workflow in Site or List creation

Hi Chintan,

this isn't possible out of the box. However, you can create an Event Receiver via Visual Studio which you can execute automatically e. g. when a new site or list is being provisioned. Inside this event receiver you can call the Nintex Workflow Webservice and execute the proper method (StartSiteWorkflow/StartWorkflow/StartWorkflowOnListItem).

Nintex Web Service reference: http://help.nintex.com/en-US/sdks/SDK2013/#Reference/SOAP/NW_REF_SOAP_StartSiteWorkflow.htm%3FTocPat... 

Tutorial on how to consume a web service in c#: C#.Net How To: Consume a Web Service in C#.Net Visual Studio 2010 - C# Tutorials 

MSDN-Article on how to create event receivers: How to: Create an Event Receiver 

Regards

Philipp

0 Kudos
Reply