Workflows and Tasks
A Workflow is a defined sequence of tasks used to accomplish a goal. A Task is a specific piece of work to accomplish. A Task specifies a Frontstage to activate.
Defining a Task List
The following shows how to define a couple of Tasks and load them into the TaskManager. Each task references a Frontstage by an Id that has been registered with the FrontstageManager. When the Task is launched or activated, the Frontstage is also activated.
Defining a Workflow
The following shows how to define a Workflow and load it into the WorkflowManager. It references tasks Task1
and Task2
defined above.
Launching a Task from the Backstage
A Task can be launched from the Backstage using the TaskLaunchBackstageItem Backstage item.
Setting a Workflow and Task active programmatically
A Task can be set active programmatically using WorkflowManager.setActiveWorkflowAndTask
.
API Reference
Last Updated: 11 June, 2024