WfProcess is the performer of a workflow request. All
workflow objects that perform work implement this interface. This
interface allows work to proceed asynchronously while being monitored
and controlled.
Return all WfActivity objects that are in a certain state.
Parameters: state - the given state. the collection of all WfActivities. throws: InvalidStateException - if an invalid state has been specified.
Returns the result produced by the WfProcess. In general the result is
undefined until the process completes, but some processes may produce
intermediate results.
process data representing intermediate result. throws: ResultNotAvailableException - when the result cannot be obtained yet.
Reassigns the WfProcess to another
WfRequester.
Parameters: requester - new WfRequester. throws: CannotChangeRequesterException - if ressignment of the process isnot supported.
Initiate enactment of a WfProcess.
throws: CannotStartException - when the process cannot be started (e.g.,because it is not properly initialized). throws: AlreadyRunningException - when the process has already been started.