WEBSITE

Sharepoint 2013 : Farm Management - Review Workflow Configuration Settings,Modify Workflow Configuration Settings

7/24/2014 9:24:13 PM

Review Workflow Configuration Settings


Scenario/Problem: You need to review the overall workflow configuration settings for a particular web application on the SharePoint farm or a site collection.


Solution: Use the Get-SPWorkflowConfig cmdlet.

The Get-SPWorkflowConfig cmdlet enables you to review the current workflow configuration settings for a specified web application or site collection. Listing 1 illustrates running this cmdlet with the WebApplication parameter. Listing 2 shows the site collection command line. Figure 1 shows sample results of both command lines.

Listing 1. Reviewing the Workflow Configuration for a Web Application


Get-SPWorkflowConfig -WebApplication "SharePoint - 80"


Listing 2. Reviewing the Workflow Configuration for a Site Collection


Get-SPWorkflowConfig -SiteCollection "http://sp2013"


Image

Figure 1. Get-SPWorkflowConfig displays the workflow configuration settings.

Modify Workflow Configuration Settings


Scenario/Problem: You need to modify the overall SharePoint Designer settings for a particular web application on the SharePoint farm.


Solution: Use the Set-SPWorkflowConfig cmdlet.

The Set-SPWorkflowConfig cmdlet enables you to modify the workflow configuration settings for a specific web application or site collection. Each setting, listed here, is a Boolean parameter:

DeclarativeWorkflowsEnabled

EmailNoPermissionParticipantsEnabled

SendDocumentToExternalParticipants

Listing 3 shows a sample modification command line for a web application. Listing 4 illustrates modification of the site collection workflow configuration.

Listing 3. Modifying the Workflow Settings for a Web Application


Set-SPWorkflowConfig -WebApplication "SharePoint - 80"
-DeclarativeWorkflowsEnabled:$true
-EmailNoPermissionParticipantsEnabled:$false
-SendDocumentToExternalParticipants:$false


Listing 4. Modifying the Workflow Settings for a Site Collection


Set-SPWorkflowConfig -SiteCollection "http://sp2013"
-DeclarativeWorkflowsEnabled:$true
-EmailNoPermissionParticipantsEnabled:$false
-SendDocumentToExternalParticipants:$false



Tip

Use Get-SPWorkflowConfig to validate the modifications. The site collection output only displays the DeclarativeWorkflowEnabled setting.


The DeclarativeWorkflowEnabled parameter determines whether users can define workflows from deployed managed code. The default value is True.

The EmailNoPermissionParticipantsEnabled parameter determines whether a user who does not have permissions to the site should receive an e-mail if a task is assigned to him or her. The default value is True.

The SendDocumentToExternalParticipants parameter specifies whether external users should receive a copy of the workflow document. The default value is False.

These parameters correspond, respectively, to the workflow settings available in Central Administration, as shown in Figure 2.

Image

Figure 2. Workflow settings for a web application in Central Administration.

Other  
  •  Sharepoint 2013 : Farm Management - Review SharePoint Designer Settings, Configure SharePoint Designer Settings
  •  Sharepoint 2013 : Farm Management - Remove a Managed Path, Merge Log Files, End the Current Log File
  •  Sharepoint 2013 : Introducing jQuery for SharePoint developers (part 2) - Understanding jQuery methods,Understanding jQuery event handling
  •  Sharepoint 2013 : Introducing jQuery for SharePoint developers (part 1) - Referencing jQuery, Understanding the global function, Understanding selector syntax
  •  Sharepoint 2013 : Introducing JavaScript for SharePoint developers (part 3) - Creating custom libraries
  •  Sharepoint 2013 : Introducing JavaScript for SharePoint developers (part 2) - Understanding JavaScript functions, Understanding JavaScript closures, Understanding JavaScript prototypes
  •  Sharepoint 2013 : Introducing JavaScript for SharePoint developers (part 1) - Understanding JavaScript namespaces, Understanding JavaScript variables
  •  Sharepoint 2013 : List and library essentials - Creating and deleting lists
  •  Sharepoint 2013 : List and library essentials - Using your apps
  •  Sharepoint 2013 : Developing Applications Using Office Services - What’s New in Access Services
  •  
    Video
    Top 10
    Michael Kors Designs Stylish Tech Products for Women
    Review : Sigma 24mm f/1.4 DG HSM Art
    Review : Canon EF11-24mm f/4L USM
    Review : Creative Sound Blaster Roar 2
    Review : Philips Fidelio M2L
    Review : Alienware 17 - Dell's Alienware laptops
    Review Smartwatch : Wellograph
    Review : Xiaomi Redmi 2
    Extending LINQ to Objects : Writing a Single Element Operator (part 2) - Building the RandomElement Operator
    Extending LINQ to Objects : Writing a Single Element Operator (part 1) - Building Our Own Last Operator
    REVIEW
    - First look: Apple Watch

    - 3 Tips for Maintaining Your Cell Phone Battery (part 1)

    - 3 Tips for Maintaining Your Cell Phone Battery (part 2)
    Popular Tags
    Video Tutorail Microsoft Access Microsoft Excel Microsoft OneNote Microsoft PowerPoint Microsoft Project Microsoft Visio Microsoft Word Active Directory Exchange Server Sharepoint Sql Server Windows Server 2008 Windows Server 2012 Windows 7 Windows 8 Adobe Flash Professional Dreamweaver Adobe Illustrator Adobe Photoshop CorelDRAW X5 CorelDraw 10 windows Phone 7 windows Phone 8 Iphone