org.jboss.seam.annotations.bpm
Annotation Type CreateProcess


@Target(value=METHOD)
@Retention(value=RUNTIME)
@Documented
public @interface CreateProcess

Marks a method creating a jBPM process instance unless the method throws an exception or returns a null outcome.

Author:
Steve Ebersole

Required Element Summary
 String definition
          The name of the ProcessDefinition from which to create the ProcessInstance
 
Optional Element Summary
 String processKey
          An EL expression that evaluates to the process business key.
 

Element Detail

definition

public abstract String definition
The name of the ProcessDefinition from which to create the ProcessInstance

processKey

public abstract String processKey
An EL expression that evaluates to the process business key.

Returns:
an EL expression or an empty string to indicate a null key
Default:
""