WorkflowsWorkflow allows a set of pre-defined activities to be executed. Workflows work using the Windows Workflow Foundation 4.0 engine in SharePoint 2013.AssociationsWe can associate workflows against a list, library or content type. Here we are focusing on associating workflow with content types.ProcedureUse the following procedure to associate a workflow with a content type.Create a new site content type named Expense.Then click the Workflow Settings and in the page that appears choose Add a workflow. In the page that appears you can choose the workflow and enter the name and configuration settings.Choose the start option to start a creation of a new item.You will get the workflow created as below.This concludes our workflow association. You can test the code by creating a content type item.Note: Once the workflow is created, it will fire for all the items created based on the Expense content type.ReferencesAdd a workflow association (SharePoint Server 2010).SummaryIn this article we explored how to associate Workflows with Content Types.
You need to be a premium member to use this feature. To access it, you'll have to upgrade your membership.
Become a sharper developer and jumpstart your career.
$0
$
. 00
monthly
For Basic members:
$20
For Premium members:
$45
For Elite members: