Jean Paul's Blog

There are 2 types of People in the World, One who Likes SharePoint and..

    Advertisements
  • Microsoft MVP

  • MindCracker MVP

  • CodeProject MVP

  • eBook on SharePoint 2010

  • eBook on Design Patterns

  • eBook on Windows Azure

  • NLayers Framework @ CodePlex

  • MSDN Forums

  • .Net vs. Java

    Due to Public Demand
  • Advertisements

70-488 Manage Workflow Associations for a Content Type

Posted by Paul on December 31, 2014


In this article we can explore how to associate Workflows with Content Types.

Workflows

Workflow allows set of pre-defined activities to be executed.  Workflows work using Windows Workflow Foundation 4.0 engine in SharePoint 2013.

Associations

We can associate workflows against a list, library or content type.  Here we are focusing on associating workflow with content types.

Steps

Follow the steps below to associate a workflow with a content type.

Create a new site content type named Expense.

image

Then click the Workflow Settings and in the appearing page choose Add a workflow.

image

In the appearing page you can choose the workflow & enter name, configuration settings.

image

Choose the start option to start on creation of new item.

image

You will get the workflow created as below.

image

This concludes our workflow association. You can test the code by creating a content type item.

image

Once the workflow is created, it will fire for all the items created based on the Expense content type.

References

http://technet.microsoft.com/en-us/library/ee662529(v=office.14).aspx#Section2

Summary

In this article we have explored how to associate Workflows with Content Types.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s