Global data objects,
policies, statuses, and participants are associated with the top-level
folders under the workflow root. Activities can also contain locally
defined data objects, policies, statuses, and participants. Local
elements exist in the context of a specific activity are accessible
only at the activity-level, not by the other tasks or subprocesses.
Data objects can be defined on the root or subprocess level, but the
visibility can be configured by enabling the
Visible in
entire subtree option. Enabling this option means the
data definition is available to the children within that process level
for logical evaluation or policy execution. However, these global
elements are not recreated as local values associated with the child
elements.
Each process begins
with a Start node and contains one or more activities (tasks or subprocesses)
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
activities. Likewise, the Start node can be used to initiate multiple
activities.
The following elements
can be used in a process diagram:
The Start node must
precede the first activity in the process.
The Stop node must
be connected to any activity that leads to process termination.
Activities are individual
work items in the process that can represent automated or manual tasks.
An activity element
with a stacked appearance represents a subprocess. A subprocess contains
one or more activities that might, in turn, represent subprocesses
resulting in a process hierarchy. You can create subprocesses and
edit the contained activities from the drawing editor.
Swimlane elements are
used in SAS Workflow Studio to group activities assigned to the same
participant definition. They can be explicitly assigned to a Participant
object, or they can be implicitly assigned via a swimlane policy.
The swimlane policy derives the user, group, or role value defined
by the specified data object at run time.
The Sequence Flow tool
is used to connect process elements.
This connection element
might also be used to designate process status (that is, state changes
or transitions between activities).
Annotations are used
to hold additional information. These notes are for presentation only
and are not associated with the run-time process definition.
You can use the drawing
tools in the toolbar to place activities on the diagram editor and
connect them using the Sequence Flow element. You can also select
and right-click any activity or connection on the diagram editor to
add objects. Alternatively, you might use the process tree pop-up
menus to add activities and other process elements.