Create a K2 Workflow in SharePoint 2013 Online


K2 is a SharePoint App to integrate a K2 environment with a SharePoint 2013 Environment. This allows the users to easily build, deploy and run customized business applications without writing code. To learn more about K2 and to set up K2 in SharePoint 2013 Online please go through this link.

In this article you will see how to create a simple K2 Workflow from SharePoint 2013 Online list. I have created a custom list named “K2 Workflow Tutorials”. You will see how to create a simple K2 workflow from this custom list. Note: I have already added the K2 to SharePoint App.

K2 Workflow Tutorials list

K2 Workflow Tutorials list

Use the following to create a K2 Workflow:

  1. Navigate to the Office 365 site.

  2. Click on K2 Workflow Tutorials link in the quick launch bar. Click on the List tab and then click on the Application button in the ribbon interface.

    Application

  3. Click on Create New Application.

    Create New Application

  4. Select the Create Workflow check box and then select when the events should occur. Click on the Ok button.

    Create Workflow

  5. The K2 workflow designer will be opened.

    K2 workflow designer

  6. Under the Workflow Steps tab, click on the General button in the ribbon interface. Click on List Items.

    Workflow Steps tab

  7. Drag and drop the Update List Item step from the List Item Workflow Steps.

    Update List Item

  8. Configure the Update List Item step. Note: I will be updating the “Title” field.

    Configure Update List

    Title

  9. Click on Finish button.

Deploy the workflow
  1. Click on the File tab in the ribbon interface and then click on Deploy.

    Deploy

  2. The Workflow is deployed successfully.

    deployed workflow

    deployed successfully

  3. You will be able to see the workflow added to the K2 application.

    K2 Workflow Tutorials

Test the workflow
  1. Navigate to the K2 Workflow Tutorials list.

  2. Create a new item.

  3. Click on K2 Workflows from the item menu.

    K2 Workflows

  4. You will be able to see the workflow instance details.

    workflow instance details

  5. After a few minutes the workflow will be completed and the “Title” field will be updated as shown below.

    workflow

Summary

Thus in this article you saw how to create a simple K2 workflow in a SharePoint 2013 Online list.