@Qualifier @Retention(value=RUNTIME) @Documented public @interface ProcessVariable
@Inject @ProcessVariable Object accountNumber@Inject @ProcessVariable("accountNumber") Object accountIn both cases, the process variable with the name 'accountNumber' is injected. NOTE: injection points must be of type 'object'.
Can also be used to declare bean-properties to hold process variables in combination with the StartProcess annotation:
@ProcessVariableString accountNumber; // will be added as a process // variable to the 'billingProcess'@StartProcess("billingProcess")public void startBillingProcess() { ... }
public abstract String value
Copyright © 2023 Flowable. All rights reserved.