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

    getTaskById

    getTaskById(id) returns the workflow task instance with the specified ID.

    This method is functionally equivalent to the getTask(id) method.

    Parameters

    id
    The ID of the workflow task instance.

    Returns

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

    Example

        var taskId = "activiti$144";
    
        model.task = workflow.getTaskById(taskId);        
          
    Parent topic: Workflow Manager

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