Interface IncidentRecordValue
- All Superinterfaces:
JsonSerializable,ProcessInstanceRelated,RecordValue
- All Known Implementing Classes:
ImmutableIncidentRecordValue
Represents a process incident.
See IncidentIntent for intents.
-
Method Summary
Modifier and TypeMethodDescriptionlonglonglonglonglongMethods inherited from interface io.camunda.zeebe.protocol.record.JsonSerializable
toJson
-
Method Details
-
getErrorType
ErrorType getErrorType()- Returns:
- the type of error this incident is caused by. Can be
UNKNOWNif the incident record is part of aIncidentIntent.RESOLVEcommand.
-
getErrorMessage
String getErrorMessage()- Returns:
- the description of the error this incident is caused by. Can be empty if the incident
record is part of a
IncidentIntent.RESOLVEcommand.
-
getBpmnProcessId
String getBpmnProcessId()- Returns:
- the BPMN process id this incident belongs to. Can be empty if the incident record is
part of a
IncidentIntent.RESOLVEcommand.
-
getProcessDefinitionKey
long getProcessDefinitionKey()- Returns:
- the key of the process this incident belongs to. Can be
-1if the incident record is part of aIncidentIntent.RESOLVEcommand.
-
getProcessInstanceKey
long getProcessInstanceKey()- Specified by:
getProcessInstanceKeyin interfaceProcessInstanceRelated- Returns:
- the key of the process instance this incident belongs to. Can be
-1if the incident record is part of aIncidentIntent.RESOLVEcommand.
-
getElementId
String getElementId()- Returns:
- the id of the element this incident belongs to. Can be empty if incident record is part
of a
IncidentIntent.RESOLVEcommand.
-
getElementInstanceKey
long getElementInstanceKey()- Returns:
- the key of the element instance this incident belongs to. Can be
-1if the incident record is part of aIncidentIntent.RESOLVEcommand.
-
getJobKey
long getJobKey()- Returns:
- the key of the job this incident belongs to. Can be
-1if the incident belongs to no job or the incident record is part of aIncidentIntent.RESOLVEcommand.
-
getVariableScopeKey
long getVariableScopeKey()- Returns:
- the key of the variable scope on which the variables need to be updated. Can be
-1if the incident record is part of aIncidentIntent.RESOLVEcommand.
-