You are here

Workflow Manager

The Workflow Manager is the entry point to the Workflow JavaScript API. It is the only object in this API exposed to the root scripting scope. In the root scripting scope, the WorkflowManager object is identified as workflow.

Properties

allDefinitions
Returns an array of all (old and current) versions of deployed workflow definitions For current versions only, use latestDefinitions.
assignedTasks
Returns an array of all tasks that are currently in progress assigned to the current user.
completedTasks
Returns an array of all completed tasks assigned to the current user.
latestDefinitions
Returns an array of the latest version of all deployed workflow definitions For all versions, use allDefinitions.