Global data objects, policies, statuses, and participants are associated with the
top-level folders under the workflow root task. Child tasks can also contain locally
defined data objects, policies, statuses, and
participants. Local elements that exist in the context of a specific task are accessible
only at the task level, not by the peer tasks or gateways. In addition, the global
elements are not re-created as local values associated with the child elements. Therefore,
refer to solution-specific best practices to specify
data object scope at design time.
Each template begins
with a Start node and contains one or more work items (tasks or subflows)
before terminating with at least one Stop node. Each new diagram includes
a Start and Stop node, but a single Stop node might terminate multiple
tasks. Likewise, the Start node can be used to initiate multiple tasks.
The following elements
can be used in a workflow diagram:
The Start node must precede the first task in the template unless a timer is used
to offset the start of the instance.
The Stop node must be connected to any task that leads to instance termination.
Tasks are individual work items in the workflow. They can represent automated or manual
work items.
A task element with a stacked appearance represents a subflow. A subflow contains
one or more tasks that might then represent subflows resulting
in a workflow hierarchy. You can create subflows and edit the contained tasks from
the drawing
editor.
Swimlane elements are used in SAS Workflow Studio to group tasks assigned to the same
participant. They can be explicitly assigned to a Participant object, or they can
be implicitly assigned via a
swimlane policy. The swimlane policy might be a dynamic reference to a data object. If so,
then the user, group, role, or privilege value defined by the specified data
object is derived at run time.
The Sequence
Flow tool is used to connect workflow elements.
This connection element might also be used to designate workflow status (that is,
state changes or transitions between tasks).
Annotations are used to hold additional information. These notes are for presentation
only and are not associated with a running
workflow instance.
You can use the drawing tools in the toolbar to place tasks on the diagram editor
and connect them using the Sequence Flow element. You can also select and right-click
any task or connection on the diagram editor to add objects. Alternatively, you might
use
the workflow tree context menus to add tasks and other workflow elements.