|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Target(value=METHOD) @Retention(value=RUNTIME) @Documented public @interface StartProcess
this annotation instructs the component model to start an Activiti business process on sucessful invocation of a method that's annotated with it.
| Required Element Summary | |
|---|---|
String |
processKey
the name of the business process to start (by key) |
| Optional Element Summary | |
|---|---|
boolean |
returnProcessInstanceId
returns the ID of the ProcessInstance. |
| Element Detail |
|---|
public abstract String processKey
public abstract boolean returnProcessInstanceId
ProcessInstance. If specified, it'll only work if
the return type of the invocation is compatabile with a ProcessInstance's ID
(which is a String, at the moment)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||