Skip to main content
Home

Search form

Menu

Search form

  • What's new in SkyVault Content Services
  • Supported Platforms
  • Video tutorials
  • Using SkyVault Share
  • SkyVault SDK 3.0
  • API guide
    • API overview
    • Use Cases
    • Java API
    • JavaScript API
      • About script files
      • Root objects
      • Scripting API
      • Services API
        • Activities service
        • Authority service
        • Rendition service
        • Site service
        • Tagging service
        • Thumbnail service
        • Workflow service
          • JscriptWorkflowDefinition
          • JscriptWorkflowInstance
          • JscriptWorkflowNode
          • JscriptWorkflowPath
          • JscriptWorkflowTask
          • JscriptWorkflowTransition
          • Workflow Manager
            • createPackage
            • getAllDefinitions
            • getAssignedTasks
            • getCompletedTasks
            • getDefinition
            • getDefinitionByName
            • getInstance
            • getLatestDefinitions
            • getPooledTasks
            • getTask
            • getTaskById
    • FreeMarker API
    • Spring Surf API
  • Extension packaging - modules
  • Platform extensions
  • Platform integrations
  • Share extensions
  • Copyright
  • You are here

    SkyVault Content Services 5.2 » Developer guide » API guide » SkyVault Content Services API Reference » JavaScript API » Services API » Workflow service » Workflow Manager

    getDefinitionByName

    getDefinitionByName(name) gets the workflow definitions corresponding to the specified name.

    Parameters

    name
    A string representing the name of the workflow definition to return.

    Returns

    Returns the workflow definition with the given name or null if no workflow definition with the given name exists.

    Example

        var name = "activiti$activitiAdhoc";
        
        model.definition = workflow.getDefinitionByName(name);        
          
    Parent topic: Workflow Manager

    © 2017 TBS-LLC. All Rights Reserved.    Follow @twitter