public interface Incident
Incident
represents a failure in the execution of
a process instance.
A possible failure could be for example a failed Job
during the execution, so that the job retry is equal zero
(job.retries == 0
). In that case an incident
will be created an the incidentType
will be set
to failedJobs
.
Furthermore, it is possible to create custom incidents with
an individually incidentType
to indicate a failure
in the execution.
Modifier and Type | Method and Description |
---|---|
String |
getActivityId()
Returns the id of the activity of the process instance
on which this incident has happened.
|
String |
getCauseIncidentId()
Returns the id of the incident on which this incident
has been triggered.
|
String |
getConfiguration()
Returns the payload of this incident.
|
String |
getExecutionId()
Returns the specific execution on which this
incident has happened.
|
String |
getId()
Returns the unique identifier for this incident.
|
String |
getIncidentMessage()
Returns the incident message.
|
Date |
getIncidentTimestamp()
Time when the incident happened.
|
String |
getIncidentType()
Returns the type of this incident to identify the
kind of incident.
|
String |
getProcessDefinitionId()
Returns the id of the process definition of this
process instance on which the incident has happened.
|
String |
getProcessInstanceId()
Returns the specific process instance on which this
incident has happened.
|
String |
getRootCauseIncidentId()
Returns the id of the root incident on which
this transitive incident has been triggered.
|
String getId()
Date getIncidentTimestamp()
String getIncidentType()
For example: failedJobs
will be returned
in the case of an incident, which identify failed job
during the execution of a process instance.
String getIncidentMessage()
String getExecutionId()
String getActivityId()
String getProcessInstanceId()
String getProcessDefinitionId()
String getCauseIncidentId()
String getRootCauseIncidentId()
String getConfiguration()
Copyright © 2015. All rights reserved.