Interface ProcessInstanceRecordValue
- All Superinterfaces:
JsonSerializable,ProcessInstanceRelated,RecordValue
- All Known Implementing Classes:
ImmutableProcessInstanceRecordValue
Represents a process instance related command or event.
See ProcessInstanceIntent for intents.
-
Method Summary
Modifier and TypeMethodDescriptionlonglonglonglonglongintMethods inherited from interface io.camunda.zeebe.protocol.record.JsonSerializable
toJson
-
Method Details
-
getBpmnProcessId
String getBpmnProcessId()- Returns:
- the BPMN process id this process instance belongs to.
-
getVersion
int getVersion()- Returns:
- the version of the deployed process this instance belongs to.
-
getProcessDefinitionKey
long getProcessDefinitionKey()- Returns:
- the key of the deployed process this instance belongs to.
-
getProcessInstanceKey
long getProcessInstanceKey()- Specified by:
getProcessInstanceKeyin interfaceProcessInstanceRelated- Returns:
- the key of the process instance
-
getElementId
String getElementId()- Returns:
- the id of the current process element, or empty if the id is not specified.
-
getFlowScopeKey
long getFlowScopeKey()- Returns:
- the key of the activity instance that is the flow scope of this flow element instance; -1 for records of the process instance itself.
-
getBpmnElementType
BpmnElementType getBpmnElementType()- Returns:
- the BPMN type of the current process element.
-
getParentProcessInstanceKey
long getParentProcessInstanceKey()- Returns:
- the key of the process instance that created this instance, or -1 if it was not created by another process instance.
-
getParentElementInstanceKey
long getParentElementInstanceKey()- Returns:
- the key of the element instance that created this instance, or -1 if it was not created by another process instance.
-
getBpmnEventType
BpmnEventType getBpmnEventType()- Returns:
- the BPMN event type of the current process element.
-