A User Task is a unit of work that must be carried out by a User. A User Task comprises of one or more Ooyala Flex console screens (or a Wizard), through which a User interacts with Ooyala Flex to get work done. A User Task is a Workflow-based concept and User Tasks are always carried out as part of a Workflow.
Examples of User Tasks are:
• Enter Metadata: Entering metadata to describe an Asset
• Approve Content: Watching a preview of some content and commenting and approving it.
New Tasks Instances are created when a Workflow Instance moves to a User Task node.
What is a Task Definition?
To really understand User Task orchestration in Ooyala Flex, it’s important to understand the difference between a Task Definition and a Task Instance.
A Task Definition defines the type of Task and the work to be carried out by a User. Task Definitions are used to create User Task nodes in Workflow Definitions.
There are some fundamental rules that apply to all valid Task Definitions:
- Task Definitions must reference a Wizard.
- Task Definitions must have an assignment rule which defines who (User or Group) a new Task Instance is assigned to.
- A Task Definition is a type of Ooyala Flex Object and can be created and edited.
- It is not always necessary to carry out Workflow Tasks through interacting with Wizards in the Ooyala Flex Console. It is also possible to create separate User interface components and interact directly with the Ooyala Flex Task API from other systems.
What is a Task Instance?
A Task Instance represents a single instance of a Task Definition. A Task Instance is created when a Workflow Instance reaches a User Task node. Once the Task Instance has been created and assigned, it can be accessed from the My Tasks section of the Ooyala Flex console. Once the Task Instance has been completed, the Workflow Instance that created the new Task Instance is notified and the Workflow Instances moves to the next Node.
Think of a Task Definition as a list of instructions for doing a specific Task and information about who should follow these instructions. Although this Task Definition defines the instructions for carrying out a specific task, it isn't a Task itself. A single Task Definition with a list of instructions can be used to carry out lots of instances of work against lots of individual Assets. Each individual unit of work as an "instance" and the list of instructions to follow as the "definition". In summary, a Task Definition defines what must be done and who must do it. A Task Instance is a single instance of these instructions which must be carried out by a single User.
Task Definition Object Properties
|Scope||Account||The Scoping of this Object|
|Visibility||Whether the Object supports visibility|
|Extended Config.||Whether the Object has an extended configuration tab|
|Scripting||Whether the Object can be configured using scripting|
|Enable / Disable||Whether the Object can be enabled and disabled|
|Start / Stop||Whether the Object can be started and stopped|
|Copy||Whether the Object can be copied|
|Export / Import||Whether the Object can be exported and imported|
|Delete||Whether the Object can be deleted|
|Unique Name||Whether the Object name must be unique within its scope|
|Variants||Whether the Object supports Variants|