Package io.jmix.bpmflowui.processform
Interface ProcessStarting
- All Known Implementing Classes:
- ProcessStartingImpl
public interface ProcessStarting
A process starting builder used in custom process forms.
- See Also:
- 
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) 
- 
Method Details- 
withOrigin
- 
withProcessDefinitionProcessStarting withProcessDefinition(org.flowable.engine.repository.ProcessDefinition processDefinition) 
- 
withBusinessKey
- 
withProcessVariables
- 
addProcessVariableAdds a single process variable. Multiple sequential invocations of the method are allowed
- 
saveInjectedProcessVariablesProcessStarting saveInjectedProcessVariables()Values of form fields that are annotated with theProcessVariablewill be collected and written to process variables when the process is started.
- 
startorg.flowable.engine.runtime.ProcessInstance start()Starts the process using theProcessDefinitionfrom theProcessFormContextImpl
 
-