Package io.zeebe.protocol.record.value
Interface IncidentRecordValue
-
- All Superinterfaces:
JsonSerializable,ProcessInstanceRelated,RecordValue
public interface IncidentRecordValue extends RecordValue, ProcessInstanceRelated
Represents a process incident.See
IncidentIntentfor intents.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetBpmnProcessId()StringgetElementId()longgetElementInstanceKey()StringgetErrorMessage()ErrorTypegetErrorType()longgetJobKey()longgetProcessDefinitionKey()longgetProcessInstanceKey()longgetVariableScopeKey()-
Methods inherited from interface io.zeebe.protocol.record.JsonSerializable
toJson
-
-
-
-
Method Detail
-
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.
-
-