Package psdi.workflow

The Workflow package includes Mbos related to workflow.

See: Description

Package psdi.workflow Description

The Workflow package includes Mbos related to workflow. Workflow allows the design and implementation of processes which control certain types of Mbos. Workflow processes can modify and change the statuses of Mbos as well as create assignments for users to do some action.

Package Specification

There are several categories of MboSets in this package.

Process Definition and Instanciation

These Mbos define a workflow process and store details of a instance of a process started on a WFMbo.
  • WFProcess - Defines a process. The process can be assigned as the default process or called as a sub-process.
  • WFRevision - Define a revision of a process. Processes may have multiple revisions. When a process is modified, any active instances continue using the revision of the process they were started with.
  • WFInstance - Links a Mbo controlled by workflow to the instance of the workflow process which controls it. A WFInstance is created when a workflow process is started on a Mbo.
  • WFCallStack - Keeps track of all things the WF process needs to do as the work flow controlled Mbo travels among the nodes. Created for each instance of a workflow process.
  • WFAssignment - Defines when some entity (Labor, LaborGroup, Role, etc) needs to perform some action.
  • WFNotification - Defines those that need to be notified that an action has occurred.
  • WFTransaction - Permanent record about what a workflow instance has done.
  • WFRole - Defines roles which specify who should be assigned to workflow assignments.

Process Nodes and Actions

These Mbos define the nodes and actions of a process.
  • WFNode - Nodes are the "boxes" in a workflow process diagram. There are multiple types of nodes, each have an additional record that contains information unique to that node type.
  • WFNodeDetail - This is a Mbo subclass that defines common actions for node type specific detail Mbos. These Mbos have a single WFNode to which they are attached to via the three attributes ProcessID, ProcessRev, and NodeID.
  • WFCondition - Details for a condition node of a workflow process.
  • WFInput - Details for a manual input node of a workflow process.
  • WFAction - WFActions are the arrows that connect nodes in the workflow diagram.
  • WFActionList - Defines the actions useable in a workflow process.
  • WFStart - Details for a start node of a workflow process. Each process has a single start node that defines the node where workflow processing starts.
  • WFStop - Details for a stop node of a workflow process. A process may have multiple stop nodes.
  • WFSubProcess - Detail for a sub-process node of a workflow process. This node specifies the sub-process to perform.
  • WFTask - Detail for a task node of a workflow process.

Custom Class Interfaces

There are places where custom code can be used as part of the workflow processing.
  • CustomActionInterface - Defines the interface for classes which can be specified as custom actions.
  • CustomConditionInterface - Defines the interface for custom classes used to do special condition evaluations at WFCondition nodes.
  • CustomRoleInterface - Defines the interface for custom classes used to implement custom roles.

CronTasks

Many workflow operations can be performed by automated code that operates at a certain time interval.
  • WFCronTaskAdapter -implements psdi.server.CronTask - Abstract base class for creating workflow related crontasks.
  • EmailNotification - extends WFCronTaskAdapter - This crontask sends e-mail to all active notifications.
  • Escalation - extends WFCronTaskAdapter - This cronTask escalates all assignments whose time has expired.
  • WFAutoAssignment - extends WFCronTaskAdapter - Base class for crontasks involving assignments to an 'automatic' assignee.
  • AutoAccept - extends WFAutoAssignment - AutoAccept class automatically performs the accept action of the assignment for assignments given to the role of 'AUTOASSIGN'.
  • WaitForMaterial - extends WFAutoAssignment - WaitForMaterial class is the auto assignment doing work order waiting for material.

Workflow Service

Support for workflow process editing.

Basic Adapters for custom classes

  • CustomAction -implements CustomActionInterface - Simple implementation of the interface
  • CustomCondition -implements CustomConditionInterface - Simple implementation of the interface
  • CustomRole -implements CustomRoleInterface - Simple implementation of the interface.

Related Documentation

WFMbo - Only subclasses of this class maybe controlled by workflow.

Last updated: 3/26/03