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