Interface WorkflowAgent.WorkflowProcessContext

All Superinterfaces:
BaseContext, SpecialistsBroker
Enclosing interface:
WorkflowAgent

public static interface WorkflowAgent.WorkflowProcessContext extends BaseContext
Context representing a manual activity in the corresponding workflow process. Provides means to process the next workflow step.
The possible outgoing transitions of this activity targeting the next state are provided viagetTransitions(). The user of this context has to decide which transition should be processed by calling doTransition(Transition). All data modifying methods like getFormData(), getTransitionParameters() must be called before calling doTransition(Transition) whichcompletes the activity.
Attention:
Some methods will throw an UnsupportedOperationException if after doTransition(Transition) hasbeen called or the activity has been processed automatically. In both cases isActivityProcessed()returns true.
The internal workflow implementation waits until doTransition(Transition) or gotoErrorState(String,Throwable) has beencalled. This can cause a timeout if the answer last too long.
Since:
5.0.207