org.camunda.bpm.engine.cdi.annotation
Annotation Type StartProcess


@InterceptorBinding
@Retention(value=RUNTIME)
@Target(value={METHOD,TYPE})
public @interface StartProcess

Starts a new process instance after the annotated method returns. The process instance is subsequently managed.

Each process variable set through BusinessProcess.setVariable(String, Object) within this conversation is flushed to the process instance at process instantiation. The same is true for instances of BusinessProcessScoped beans.

Author:
Daniel Meyer

Optional Element Summary
 String value
          The key of the process definition to start, as provided in the 'id' attribute of a bpmn20.xml process definition.
 

value

public abstract String value
The key of the process definition to start, as provided in the 'id' attribute of a bpmn20.xml process definition.

Default:
""


Copyright © 2015 camunda services GmbH. All rights reserved.