Package io.jmix.bpmflowui.processform
Class ProcessStartingImpl
java.lang.Object
io.jmix.bpmflowui.processform.ProcessStartingImpl
- All Implemented Interfaces:
- ProcessStarting
@Component("bpm_ProcessStarting")
public class ProcessStartingImpl
extends Object
implements ProcessStarting
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected Stringprotected Viewprotected org.flowable.engine.repository.ProcessDefinitionprotected ProcessFormVariablesCollectorprotected org.flowable.engine.RuntimeServiceprotected boolean
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionaddProcessVariable(String name, Object value) Adds a single process variable.Values of form fields that are annotated with theProcessVariablewill be collected and written to process variables when the process is started.org.flowable.engine.runtime.ProcessInstancestart()Starts the process using theProcessDefinitionfrom theProcessFormContextImplwithBusinessKey(String businessKey) withOrigin(View origin) withProcessDefinition(org.flowable.engine.repository.ProcessDefinition processDefinition) withProcessVariables(Map<String, Object> processVariables) 
- 
Field Details- 
runtimeService@Autowired protected org.flowable.engine.RuntimeService runtimeService
- 
processFormVariablesCollector
- 
origin
- 
businessKey
- 
processDefinitionprotected org.flowable.engine.repository.ProcessDefinition processDefinition
- 
processVariables
- 
saveInjectedProcessVariablesprotected boolean saveInjectedProcessVariables
 
- 
- 
Constructor Details- 
ProcessStartingImplpublic ProcessStartingImpl()
 
- 
- 
Method Details- 
withOrigin- Specified by:
- withOriginin interface- ProcessStarting
 
- 
withProcessDefinitionpublic ProcessStarting withProcessDefinition(org.flowable.engine.repository.ProcessDefinition processDefinition) - Specified by:
- withProcessDefinitionin interface- ProcessStarting
 
- 
withBusinessKey- Specified by:
- withBusinessKeyin interface- ProcessStarting
 
- 
withProcessVariables- Specified by:
- withProcessVariablesin interface- ProcessStarting
 
- 
addProcessVariableDescription copied from interface:ProcessStartingAdds a single process variable. Multiple sequential invocations of the method are allowed- Specified by:
- addProcessVariablein interface- ProcessStarting
 
- 
saveInjectedProcessVariablesDescription copied from interface:ProcessStartingValues of form fields that are annotated with theProcessVariablewill be collected and written to process variables when the process is started.- Specified by:
- saveInjectedProcessVariablesin interface- ProcessStarting
 
- 
startpublic org.flowable.engine.runtime.ProcessInstance start()Description copied from interface:ProcessStartingStarts the process using theProcessDefinitionfrom theProcessFormContextImpl- Specified by:
- startin interface- ProcessStarting
 
 
-