Class WfActivity
- All Implemented Interfaces:
Externalizable,Serializable,wt.access._AccessControlled,wt.access._PolicyAccessControlled,wt.access._SecurityLabeled,AccessControlled,wt.access.PolicyAccessControlled,SecurityLabeled,wt.admin._DomainAdministered,DomainAdministered,wt.fc._NetFactor,wt.fc._ObjectMappable,wt.fc._Persistable,wt.fc.adminlock._AdministrativelyLockable,AdministrativelyLockable,wt.fc.BusinessInformation,NetFactor,ObjectMappable,Persistable,DisplayIdentification,wt.inf.container._WTContained,WTContained,wt.notify._Notifiable,Notifiable,wt.recent.RecentlyVisited,wt.workflow.engine._WfNode,WfNode
- Direct Known Subclasses:
_Milestone,_ProjectProxy,wt.workflow.work._WfAssignedActivity,wt.workflow.robots._WfRobotActivity
WfActivity represents a request for work in the context
of the containing WfProcess. There can be many active WfActivity objects
within a WfProcess at a given point in time. The lifetime of the activity
is limited by that of its containing process.
The context of an activity is set by the containing process before the activity is activated depending on the variable map that relates local activity variables with global (process) variables.
A given variable may be used in many ways, as follows:
- as input to the process, in which case it should occur in the inputPropertyMap,
- as output, in which case it should occur in the outputPropertyMap,
- as input and output, in which case it should occur in both the inputPropertyMap and outputPropertyMap, and,
- exclusively locally, in which case it should occur in neither the inputPropertyMap nor outputPropertyMap
An activity may or not contain routing functionality. This is indicated
by the router type of the activity that can be NONE (no routing functionality),
CONDITIONAL (conditional or automatic routing) and MANUAL (manual routing).
If an activity has routing functionality, then after it completes, a
routing event is generated either by evaluating a "routing expression"
or by getting input from the user about the routing event. The event
information is used by outgoing links to for transfer of control decisions.
Supported API: true
Extendable: false
- See Also:
-
Field Summary
Fields inherited from class wt.workflow.engine._WfExecutionObject
CONTEXT, NAME, PRIORITY -
Method Summary
Modifier and TypeMethodDescriptionIf the activity is contained in a process, this is returned; otherwise returns the innermost process that contains the block that is the activity's parent container.Methods inherited from class wt.workflow.engine._WfExecutionObject
getContext, getName, getPriority, setContext, setName, setPriorityMethods inherited from class wt.fc.WTObject
getDisplayIdentifier, getDisplayIdentity, getDisplayTypeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface wt.fc.Persistable
checkAttributes
-
Method Details
-
getParentProcess
If the activity is contained in a process, this is returned; otherwise returns the innermost process that contains the block that is the activity's parent container.
Supported API: true- Returns:
- WfProcess
- Throws:
WTException
-