Package io.zeebe.client.api.response
Interface ProcessInstanceResult
-
- All Known Implementing Classes:
CreateProcessInstanceWithResultResponseImpl
public interface ProcessInstanceResult
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getBpmnProcessId()
BPMN process id of the process which this instance was created forlong
getProcessDefinitionKey()
Key of the process which this instance was created forlong
getProcessInstanceKey()
Unique key of the created process instance on the partitionString
getVariables()
Variables returned after the process is completed.Map<String,Object>
getVariablesAsMap()
Variables returned after the process is completed.<T> T
getVariablesAsType(Class<T> variableType)
Variables returned after the process is completed.int
getVersion()
Version of the process which this instance was created for
-
-
-
Method Detail
-
getProcessDefinitionKey
long getProcessDefinitionKey()
Key of the process which this instance was created for
-
getBpmnProcessId
String getBpmnProcessId()
BPMN process id of the process which this instance was created for
-
getVersion
int getVersion()
Version of the process which this instance was created for
-
getProcessInstanceKey
long getProcessInstanceKey()
Unique key of the created process instance on the partition
-
getVariables
String getVariables()
Variables returned after the process is completed.- Returns:
- JSON-formatted variables
-
getVariablesAsMap
Map<String,Object> getVariablesAsMap()
Variables returned after the process is completed.- Returns:
- de-serialized variables as map
-
getVariablesAsType
<T> T getVariablesAsType(Class<T> variableType)
Variables returned after the process is completed.- Returns:
- de-serialized variables as the given type
-
-