public Incident() { Employee = new Employee(); Employee.Project = new Project(); IncidentCategory = new IncidentCategoriesViewModel(); IncidentHandler = new IncidentHandler(); }
protected internal virtual void removeIncident() { IncidentHandler handler = Context.ProcessEngineConfiguration.getIncidentHandler(org.camunda.bpm.engine.runtime.Incident_Fields.EXTERNAL_TASK_HANDLER_TYPE); handler.resolveIncident(createIncidentContext()); }
protected internal virtual void createIncident() { IncidentHandler incidentHandler = Context.ProcessEngineConfiguration.getIncidentHandler(org.camunda.bpm.engine.runtime.Incident_Fields.EXTERNAL_TASK_HANDLER_TYPE); incidentHandler.handleIncident(createIncidentContext(), errorMessage); }