Class CreateProcessInstanceRequestBase
java.lang.Object
io.camunda.zeebe.client.protocol.rest.CreateProcessInstanceRequestBase
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-08-04T12:37:47.170113265Z[GMT]",
comments="Generator version: 7.8.0")
public class CreateProcessInstanceRequestBase
extends Object
Base properties for CreateProcessInstanceRequest
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddFetchVariablesItem(String fetchVariablesItem) addStartInstructionsItem(ProcessInstanceCreationStartInstruction startInstructionsItem) awaitCompletion(Boolean awaitCompletion) booleanfetchVariables(List<String> fetchVariables) Wait for the process instance to complete.List of variables names to be included in the response.A reference key chosen by the user that will be part of all records resulting from this operation.The BPMN process ID of the process definition to start an instance of.The version of the process.Timeout (in ms) the request waits for the process to complete.List of start instructions.The tenant ID of the process definition.JSON object that will instantiate the variables for the root variable scope of the process instance.inthashCode()operationReference(Long operationReference) processDefinitionId(String processDefinitionId) processDefinitionVersion(Integer processDefinitionVersion) putVariablesItem(String key, Object variablesItem) requestTimeout(Long requestTimeout) voidsetAwaitCompletion(Boolean awaitCompletion) voidsetFetchVariables(List<String> fetchVariables) voidsetOperationReference(Long operationReference) voidsetProcessDefinitionId(String processDefinitionId) voidsetProcessDefinitionVersion(Integer processDefinitionVersion) voidsetRequestTimeout(Long requestTimeout) voidsetStartInstructions(List<ProcessInstanceCreationStartInstruction> startInstructions) voidsetTenantId(String tenantId) voidsetVariables(Map<String, Object> variables) startInstructions(List<ProcessInstanceCreationStartInstruction> startInstructions) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_PROCESS_DEFINITION_ID
- See Also:
-
JSON_PROPERTY_PROCESS_DEFINITION_VERSION
- See Also:
-
JSON_PROPERTY_VARIABLES
- See Also:
-
JSON_PROPERTY_TENANT_ID
- See Also:
-
JSON_PROPERTY_OPERATION_REFERENCE
- See Also:
-
JSON_PROPERTY_START_INSTRUCTIONS
- See Also:
-
JSON_PROPERTY_AWAIT_COMPLETION
- See Also:
-
JSON_PROPERTY_FETCH_VARIABLES
- See Also:
-
JSON_PROPERTY_REQUEST_TIMEOUT
- See Also:
-
-
Constructor Details
-
CreateProcessInstanceRequestBase
public CreateProcessInstanceRequestBase()
-
-
Method Details
-
processDefinitionId
-
getProcessDefinitionId
The BPMN process ID of the process definition to start an instance of. Cannot be used together with processDefinitionKey.- Returns:
- processDefinitionId
-
setProcessDefinitionId
-
processDefinitionVersion
-
getProcessDefinitionVersion
The version of the process. Only considered when a processDefinitionId is provided. By default, the latest version of the process is used.- Returns:
- processDefinitionVersion
-
setProcessDefinitionVersion
-
variables
-
putVariablesItem
-
getVariables
JSON object that will instantiate the variables for the root variable scope of the process instance.- Returns:
- variables
-
setVariables
-
tenantId
-
getTenantId
The tenant ID of the process definition.- Returns:
- tenantId
-
setTenantId
-
operationReference
-
getOperationReference
A reference key chosen by the user that will be part of all records resulting from this operation. Must be >0 if provided. minimum: 1- Returns:
- operationReference
-
setOperationReference
-
startInstructions
public CreateProcessInstanceRequestBase startInstructions(List<ProcessInstanceCreationStartInstruction> startInstructions) -
addStartInstructionsItem
public CreateProcessInstanceRequestBase addStartInstructionsItem(ProcessInstanceCreationStartInstruction startInstructionsItem) -
getStartInstructions
List of start instructions. By default, the process instance will start at the start event. If provided, the process instance will apply start instructions after it has been created.- Returns:
- startInstructions
-
setStartInstructions
-
awaitCompletion
-
getAwaitCompletion
Wait for the process instance to complete. If the process instance completion does not occur within the requestTimeout, the request will be closed. This can lead to a 504 response status. Disabled by default.- Returns:
- awaitCompletion
-
setAwaitCompletion
-
fetchVariables
-
addFetchVariablesItem
-
getFetchVariables
List of variables names to be included in the response. If empty, all visible variables in the root scope will be returned.- Returns:
- fetchVariables
-
setFetchVariables
-
requestTimeout
-
getRequestTimeout
Timeout (in ms) the request waits for the process to complete. By default or when set to 0, the generic request timeout configured in the cluster is applied.- Returns:
- requestTimeout
-
setRequestTimeout
-
equals
-
hashCode
public int hashCode() -
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
Convert the instance into URL query string.- Parameters:
prefix- prefix of the query string- Returns:
- URL query string
-