@Target(value=METHOD) @Retention(value=RUNTIME) @Documented public @interface StartTask
task
to be started. The jBPM ContextInstance
is associated with the BUSINESS_PROCESS scope and the
TaskInstance is associated with a new
conversation, unless the annotated method returns a null outcome.
Note that both BeginTask and StartTask have effect
before invocation of the intercepted method in that they are both
about setting up appropriate ContextInstance
for the current BusinessProcessContext;
StartTask however, also has effect after method invocation
as that is the time it actually marks the task as started.TaskInstance.start()| Modifier and Type | Optional Element and Description |
|---|---|
FlushModeType |
flushMode
Set the FlushMode for any EntityManager used in
this conversation.
|
String |
id
Deprecated.
use
|
String |
pageflow
The name of the jBPM process definition defining
the page flow for this conversation.
|
String |
taskId
An EL expression that evaluates to the task id.
|
String |
taskIdParameter
The name of the request parameter under which we should locate the
the id of task to be started.
|
public abstract String taskIdParameter
public abstract String taskId
public abstract String pageflow
public abstract String id
public abstract FlushModeType flushMode
Copyright © 2015 Seam Framework. All Rights Reserved.