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._WfActivity
EXTERNALIZATION_VERSION_UID, INPUT_VARIABLE_MAP, OUTPUT_VARIABLE_MAP, ROUTER_TYPE, TRIP_COUNT, USER_EVENT_LISTFields inherited from class wt.workflow.engine.WfExecutionObject
EXCEPTION_MESSAGEFields inherited from class wt.workflow.engine._WfExecutionObject
AD_SQEN, ALERT_TIME, CHANGE_STATE_TIME, CONTEXT, D_SQEN, DEADLINE, DEADLINE_DURATION, DESCRIPTION, END_TIME, EVENT_CONFIGURATION, KEY, NAME, PD_SQEN, PRIORITY, START_TIME, STATE, SUSPEND_TIME, TEMPLATE, TIME_PAST_DEADLINE, TIME_TO_DEADLINE, TIME_TO_STARTFields inherited from class wt.fc._WTObject
CREATE_TIMESTAMP, MODIFY_TIMESTAMPFields inherited from interface wt.fc.adminlock._AdministrativelyLockable
ADMINISTRATIVE_LOCKFields inherited from interface wt.admin._DomainAdministered
DOMAIN_REF, INHERITED_DOMAINFields inherited from interface wt.notify._Notifiable
EVENT_SETFields inherited from interface wt.fc._Persistable
PERSIST_INFOFields inherited from interface wt.access._SecurityLabeled
SECURITY_LABELSFields inherited from interface wt.workflow.engine._WfNode
PARENT_PROCESS_REFFields inherited from interface wt.inf.container._WTContained
CONTAINER, CONTAINER_NAME, CONTAINER_REFERENCEFields inherited from interface wt.fc.BusinessInformation
BUSINESS_TYPE, IDENTITYFields inherited from interface wt.identity.DisplayIdentification
DISPLAY_IDENTIFIER, DISPLAY_IDENTITY, DISPLAY_TYPEFields inherited from interface wt.fc.Persistable
IDENTITY, TYPEFields inherited from interface wt.access.SecurityLabeled
SECURITY_LABELS_INTERNAL_VALUEFields inherited from interface wt.inf.container.WTContained
CONTAINER_ID -
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._WfActivity
getClassInfo, getConceptualClassname, getInputVariableMap, getOutputVariableMap, getParentProcessRef, getRouterType, getTripCount, getType, getUserEventList, readExternal, readExternal, readVersion, setInputVariableMap, setOutputVariableMap, setParentProcessRef, setRouterType, setTripCount, setUserEventList, super_readExternal_WfActivity, super_readVersion_WfActivity, super_writeExternal_WfActivity, writeExternal, writeExternalMethods inherited from class wt.workflow.engine.WfExecutionObject
calculateTimePastDeadline, calculateTimeToDeadline, calculateTimeToDeadline, changeDeadline, changeStateAttributes, computeTimePastDeadline, computeTimeToDeadline, evaluateExpression, getEventConfiguration, getIdentity, getTimePastDeadline, getTimeToDeadline, getTimeToDeadline, getVarDueDate, getVarDuration, getVarNotification, initialize, initialize, isOverdue, readVersion, removeDeadlineQueueEntries, resetValues, setDeadline, validTransitionsMethods inherited from class wt.workflow.engine._WfExecutionObject
getAdSQEN, getAlertTime, getChangeStateTime, getContainer, getContainerName, getContainerReference, getContext, getDeadline, getDeadlineDuration, getDescription, getDSQEN, getEndTime, getKey, getName, getPdSQEN, getPriority, getStartTime, getState, getSuspendTime, getTemplate, getTimeToStart, setAdSQEN, setAlertTime, setChangeStateTime, setContainer, setContainerReference, setContext, setDeadlineDuration, setDescription, setDSQEN, setEndTime, setEventConfiguration, setKey, setName, setPdSQEN, setPriority, setStartTime, setState, setSuspendTime, setTemplate, setTimePastDeadline, setTimeToDeadline, setTimeToStart, super_readExternal_WfExecutionObject, super_readVersion_WfExecutionObject, super_writeExternal_WfExecutionObjectMethods inherited from class wt.enterprise.Simple
getBusinessTypeMethods inherited from class wt.enterprise._Simple
getAdministrativeLock, getDomainRef, getEventSet, getSecurityLabels, isInheritedDomain, readVersion, setAdministrativeLock, setDomainRef, setEventSet, setInheritedDomain, setSecurityLabels, super_readExternal_Simple, super_readVersion_Simple, super_writeExternal_SimpleMethods inherited from class wt.fc.WTObject
checkAttributes, duplicate, getDisplayIdentifier, getDisplayIdentity, getDisplayTypeMethods inherited from class wt.fc._WTObject
equals, getCreateTimestamp, getModifyTimestamp, getPersistInfo, hashCode, readVersion, setPersistInfoMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface wt.fc._Persistable
getPersistInfo, setPersistInfoMethods 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
-