Skip to main content
Home

Search form

Menu

Search form

  • Overview
  • How To videos
  • Getting Started with SkyVault
  • Using SkyVault
  • Customizing
  • Programming
    • Integrating your application with SkyVault
    • Designing your application
    • Programming with CMIS
    • Programming with the repository
    • Programming with SkyVault services
    • Programming with Surf
    • Web Scripts
    • Scripting API
    • Services API
      • Site service
      • Activities service
      • Tagging service
      • Thumbnail service
      • Rendition service
      • Authority service
      • Workflow service
        • Workflow Manager
          • getDefinitionByName
          • getDefinition
          • getInstance
          • getPooledTasks
          • getTask
          • getTaskById
          • createPackage
        • JscriptWorkflowDefinition
        • JscriptWorkflowInstance
        • JscriptWorkflowNode
        • JscriptWorkflowPath
        • JscriptWorkflowTask
        • JscriptWorkflowTransition
  • Copyright
  • Disclaimer
  • You are here

    SkyVault Enterprise 4.1.10 » Programming » SkyVault API Reference » Repository JavaScript API » Services API » Workflow service » Workflow Manager

    getDefinition

    getDefinition(id) this method returns a workflow definition with the specified ID.

    Parameters

    id
    A string representing the ID of the workflow definition.

    Returns

    Returns the workflow definition with the given ID. Returns null if no workflow definition with the given ID exists.

    Example

        var id = "activiti$activitiAdhoc:1:4";
        
        model.definition = workflow.getDefinition(id);        
          
    Parent topic: Workflow Manager

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