Interface ProcessInstanceResult
-
- All Known Implementing Classes:
CreateProcessInstanceWithResultResponseImpl
public interface ProcessInstanceResult
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetBpmnProcessId()BPMN process id of the process which this instance was created forlonggetProcessDefinitionKey()Key of the process which this instance was created forlonggetProcessInstanceKey()Unique key of the created process instance on the partitionStringgetVariables()Variables returned after the process is completed.Map<String,Object>getVariablesAsMap()Variables returned after the process is completed.<T> TgetVariablesAsType(Class<T> variableType)Variables returned after the process is completed.intgetVersion()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
-
-