Package io.jmix.bpmui.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) withFrameOwner
(FrameOwner frameOwner) withProcessDefinition
(org.flowable.engine.repository.ProcessDefinition processDefinition) withProcessVariables
(Map<String, Object> processVariables)
-
Method Details
-
withFrameOwner
-
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.If the operation is invoked from within the
ScreenFragment
then process variables will be collected not only from the current fragment but also from the host screen and from all other fragments included to the host screen. -
start
org.flowable.engine.runtime.ProcessInstance start()Starts the process using theProcessDefinition
from theProcessFormContextImpl
-