Export (0) Print
Expand All

SP.Workflow.WorkflowTemplate object (sp.js)

SharePoint 2013

Represents a workflow template currently deployed on the site.

Last modified: June 25, 2013

Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013

var object = new SP.Workflow.WorkflowTemplate()
          

The WorkflowTemplate object has the following members.

Constructor

The WorkflowTemplate object has the following constructor.

Constructor

Description

WorkflowTemplate

Initializes a new instance of the SP.Workflow.WorkflowTemplate object (sp.js).

Methods

The WorkflowTemplate object has the following methods.

Method

Description

initPropertiesFromJson

Properties

The WorkflowTemplate object has the following properties.

Property

Description

allowManual

Gets a value that specifies whether workflow associations based on this workflow template can be configured to allow workflow instances to be started manually.

associationUrl

Gets a value that specifies the site relative URL of the workflow association form to use with the workflow template.

autoStartChange

Gets a value that specifies whether workflow associations based on this workflow template can be configured to start workflow instances automatically when an item is changed.

autoStartCreate

Gets a value that specifies whether workflow associations based on this workflow template can be configured to start workflow instances automatically when an item is created.

description

Gets a value that gives the description for the workflow template.

id

Gets a value that specifies the workflow template identifier.

isDeclarative

Gets a value that specifies whether the workflow template represents a declarative workflow.

name

Gets a value that gives the name of the workflow template.

permissionsManual

Gets a value that specifies the permission level a user must have to manually start workflow instances based on the workflow template.

Show:
© 2015 Microsoft