Annotation Interface ProcessVariable
Annotation for qualifying injection points such that process variables are
injected. Requires a process instance to be managed
@Inject @ProcessVariable Object accountNumber
@Inject @ProcessVariable("accountNumber") Object account
StartProcess
annotation:
@ProcessVariable
String accountNumber; // will be added as a process // variable to the 'billingProcess'@StartProcess("billingProcess")
public void startBillingProcess() { ... }
- Author:
- Daniel Meyer
-
Optional Element Summary
-
Element Details
-
value
String valueThe name of the process variable to look up. Defaults to the name of the annotated field or parameter- Default:
- ""
-