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

    getInstance

    getInstance(workflowInstanceId) this method gets the workflow instance with the specified ID.

    Parameters

    workflowInstanceId
    A string representing the ID of the workflow instance.

    Returns

    Returns the workflow instance with the given ID or null if no workflow instance with the given ID exists.

    Example

        var id = "activiti$164";
    
        model.instance = workflow.getInstance(id);      
            
    Parent topic: Workflow Manager

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