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

    getInstance

    getInstance(workflowInstanceId) 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