public interface ProcessStarting
ProcessFormContextImpl
Modifier and Type | Method and Description |
---|---|
ProcessStarting |
addProcessVariable(java.lang.String name,
java.lang.Object value)
Adds a single process variable.
|
ProcessStarting |
saveInjectedProcessVariables()
Values of form fields that are annotated with the
ProcessVariable will be collected and written
to process variables when the process is started. |
org.flowable.engine.runtime.ProcessInstance |
start()
Starts the process using the
ProcessDefinition from the ProcessFormContextImpl |
ProcessStarting |
withBusinessKey(java.lang.String businessKey) |
ProcessStarting |
withFrameOwner(io.jmix.ui.screen.FrameOwner frameOwner) |
ProcessStarting |
withProcessDefinition(org.flowable.engine.repository.ProcessDefinition processDefinition) |
ProcessStarting |
withProcessVariables(java.util.Map<java.lang.String,java.lang.Object> processVariables) |
ProcessStarting withFrameOwner(io.jmix.ui.screen.FrameOwner frameOwner)
ProcessStarting withProcessDefinition(org.flowable.engine.repository.ProcessDefinition processDefinition)
ProcessStarting withBusinessKey(java.lang.String businessKey)
ProcessStarting withProcessVariables(java.util.Map<java.lang.String,java.lang.Object> processVariables)
ProcessStarting addProcessVariable(java.lang.String name, java.lang.Object value)
ProcessStarting saveInjectedProcessVariables()
ProcessVariable
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.
org.flowable.engine.runtime.ProcessInstance start()
ProcessDefinition
from the ProcessFormContextImpl