Step 8: Publish and test the workflow

The Leave Request workflow is now complete. You can now publish and test the workflow.

1

Publish the workflow

  1. From the toolbar at the top of the Designer page, click Publish.
  2. Note: The settings saved for the workflow through Workflow Settings in Step 7: Configure start options of this solution are reflected in the Publish dialog box. For this solution we have already configured the Name and the Start options for the workflow.

  1. For Assigned use, select Production or Development. For more information about assigned use, see Assigned use when publishing workflows and forms.

  2. Click Publish.

2

Test the leave request workflow

  1. Open the Leave Request SharePoint list and click +New to add a new item to the list. The Form you designed for the Leave Request list is displayed.
  2. Fill the form fields and click Submit. A new item is added to the list.

The Leave Request workflow which is configured to start when a new item is added to the list, is started.

3

View the workflow status

You can confirm the start of the workflow by checking the workflow details.

  1. Hover the cursor over the item you added to the list and click the vertical ellipsis icon (). An options menu appears.
  2. On the options menu, point to More and then click Workflow. The workflow page is displayed for the list item. The status of the Leave Request Workflow is shown as Started as shown in the image below: