Skip to content

Commit

Permalink
fix sla
Browse files Browse the repository at this point in the history
  • Loading branch information
elguardian committed Nov 15, 2023
1 parent 7702da7 commit 7c3e46b
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -177,11 +177,9 @@ public void storeProcessInstanceDataEvent(DataAuditContext context, ProcessInsta
public void storeProcessInstanceDataEvent(DataAuditContext context, ProcessInstanceSLADataEvent event) {
EntityManager entityManager = context.getContext();

if (event.getData().getNodeDefinitionId() != null) {

if (event.getData().getNodeDefinitionId() == null) {
ProcessInstanceStateLog log = new ProcessInstanceStateLog();
setProcessCommonAttributes(log, event);

log.setEventType(ProcessStateLogType.SLA_VIOLATION);

entityManager.persist(log);
Expand Down

0 comments on commit 7c3e46b

Please sign in to comment.