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 Summary
Modifier and TypeMethodDescriptionaddProcessVariable
(String name, Object value) Adds a single process variable.Values of form fields that are annotated with theProcessVariable
will be collected and written to process variables when the process is started.org.flowable.engine.runtime.ProcessInstance
start()
Starts the process using theProcessDefinition
from theProcessFormContextImpl
withBusinessKey
(String businessKey) withOrigin
(View origin) withProcessDefinition
(org.flowable.engine.repository.ProcessDefinition processDefinition) withProcessVariables
(Map<String, Object> processVariables)
-
Method Details
-
withOrigin
-
withProcessDefinition
ProcessStarting withProcessDefinition(org.flowable.engine.repository.ProcessDefinition processDefinition) -
withBusinessKey
-
withProcessVariables
-
addProcessVariable
Adds a single process variable. Multiple sequential invocations of the method are allowed -
saveInjectedProcessVariables
ProcessStarting saveInjectedProcessVariables()Values of form fields that are annotated with theProcessVariable
will be collected and written to process variables when the process is started. -
start
org.flowable.engine.runtime.ProcessInstance start()Starts the process using theProcessDefinition
from theProcessFormContextImpl
-