Export (0) Print
Expand All

SP.Workflow.WorkflowTemplateCollection.getById Method (sp.js)

SharePoint 2013

Returns a workflow template based on Id.

Last modified: June 25, 2013

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

SP.Workflow.WorkflowTemplateCollection.getById(templateId)
          

templateId

Type: SP.Guid

The name of the workflow template to retrieve.

This method must return the SP.Workflow.WorkflowTemplate object with the Name property equal to the name parameter, or null if no such SP.Workflow.WorkflowTemplate exists in the collection. All SP.Workflow.WorkflowTemplate objects in the collection must have a unique value for their Name property. It must not be null.

Show:
© 2014 Microsoft