Interface CreateProcessInstanceCommandStep1.CreateProcessInstanceCommandStep3
- All Superinterfaces:
FinalCommandStep<ProcessInstanceEvent>
- All Known Implementing Classes:
CreateProcessInstanceCommandImpl
- Enclosing interface:
- CreateProcessInstanceCommandStep1
public static interface CreateProcessInstanceCommandStep1.CreateProcessInstanceCommandStep3
extends FinalCommandStep<ProcessInstanceEvent>
-
Method Summary
Modifier and TypeMethodDescriptionvariables
(InputStream variables) Set the initial variables of the process instance.Set the initial variables of the process instance.Set the initial variables of the process instance.Set the initial variables of the process instance.When this method is called, the response to the command will be received after the process is completed.Methods inherited from interface io.camunda.zeebe.client.api.command.FinalCommandStep
requestTimeout, send
-
Method Details
-
variables
CreateProcessInstanceCommandStep1.CreateProcessInstanceCommandStep3 variables(InputStream variables) Set the initial variables of the process instance.- Parameters:
variables
- the variables JSON document as stream- Returns:
- the builder for this command. Call
FinalCommandStep.send()
to complete the command and send it to the broker.
-
variables
Set the initial variables of the process instance.- Parameters:
variables
- the variables JSON document as String- Returns:
- the builder for this command. Call
FinalCommandStep.send()
to complete the command and send it to the broker.
-
variables
CreateProcessInstanceCommandStep1.CreateProcessInstanceCommandStep3 variables(Map<String, Object> variables) Set the initial variables of the process instance.- Parameters:
variables
- the variables document as map- Returns:
- the builder for this command. Call
FinalCommandStep.send()
to complete the command and send it to the broker.
-
variables
Set the initial variables of the process instance.- Parameters:
variables
- the variables document as object to be serialized to JSON- Returns:
- the builder for this command. Call
FinalCommandStep.send()
to complete the command and send it to the broker.
-
withResult
When this method is called, the response to the command will be received after the process is completed. The response consists of a set of variables.- Returns:
- the builder for this command. Call
FinalCommandStep.send()
to complete the command and send it to the broker
-