Skip to content

Commit 08252e9

Browse files
abhijithumbeabhijithumbe
authored andcommitted
[KI DT452502] SLA due date value in NodeInstanceLog table is reset to NULL after the SLA expires
1 parent 1efd749 commit 08252e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jbpm-audit/src/main/java/org/jbpm/process/audit/JPAWorkingMemoryDbLogger.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ protected void slaNodeInstanceViolated(SLAViolatedEvent event) {
275275
}
276276
if (log != null) {
277277
log.setSlaCompliance(((NodeInstance) event.getNodeInstance()).getSlaCompliance());
278-
log.setSlaDueDate(((ProcessInstance) event.getProcessInstance()).getSlaDueDate());
278+
log.setSlaDueDate(((NodeInstance) event.getNodeInstance()).getSlaDueDate());
279279
setNodeInstanceMetadata(event.getNodeInstance(), METADATA_NODEINSTANCE_LOG, log);
280280
((NodeInstanceImpl) event.getNodeInstance()).getMetaData().put(METADATA_NODEINSTANCE_LOG, log);
281281
em.merge(log);

0 commit comments

Comments
 (0)