How to Create Site Using NINTEX Workflow in SharePoint

In this article you will see how to create a site using NINTEX workflow in SharePoint.

Introduction

In this article you will see how to create a site using NINTEX workflow in SharePoint. I have created a custom list named "Site Provisioning" in which I have the following columns:

SharePoint-1.jpg

The Title column is used to specify the site Title and Description columns to be used to specify the site description.

Create site creation workflow

  1. Navigate to the Site Provisioning list.
  2. Click on the List tab and then click on Workflow Settings.
  3. Click on Create a Workflow in Nintex Workflow.

    SharePoint-2.jpg

  4. Click on Cancel.

    SharePoint-3.jpg

  5. Drag and drop the Create site action from the Provisioning section.

    SharePoint-4.jpg

  6. You will be able to see the warning symbol in the workflow action, click on that; you will see the following warning message.

    SharePoint-5.jpg

  7. Click on Configure from the drop down list in the Create site action.

    SharePoint-6.jpg

  8. Click on the Insert Reference button for the Title column and then click on Item Properties tab. Select Title and then click on Ok.

    SharePoint-7.jpg

  9. Similarly select the Description item property for the Description column.

    SharePoint-8.jpg

  10. Click on the Select a parent site link to select the parent site where the sites should be created.

    SharePoint-9.jpg

  11. In the URL column select the Title item property as mentioned in Step 8.

    SharePoint-10.jpg

  12. Select the site template and other options as you require.
  13. Click on Save.
  14. Click on Workflow Settings in the ribbon interface.

    SharePoint-11.jpg

  15. Enter the Name and select Yes for Start when items are created.

    SharePoint-12.jpg

  16. Click on Save.

Publish the workflow

  1. Click on the Publish button in the ribbon interface.

    SharePoint-13.jpg

  2. Ensure the Title is set; optionally you can set the values for Description and Change Comments.
  3. Click on the Submit button.

    SharePoint-15.jpg

  4. The workflow is published successfully.

    SharePoint-16.jpg

Test the workflow:

  1. Navigate to the Site Provisioning list.
  2. Create a new item.

    SharePoint-17.jpg

  3. The Create Site workflow will be started once the item is created.
  4. After a few minutes the workflow status will be changed to Completed.

    SharePoint-18.jpg

  5. A new site is created successfully.

    SharePoint-19.jpg

Summary

Thus in this article you have seen how to create a new site using a NINTEX workflow in SharePoint.