Skip to content

Commit

Permalink
[7.67.x-blue] [incubator-kie-issues-646] Duplicate timer created for …
Browse files Browse the repository at this point in the history
…Task SLA Due date with AsyncMode env setting (#2353)

* [incubator-kie-issues-646] Duplicate timer created for Task SLA Due date with AsyncMode env setting (#2352)

* Update jbpm-flow/src/main/java/org/jbpm/workflow/core/node/AsyncEventNode.java

Co-authored-by: Gonzalo Muñoz <gmunozfe@redhat.com>

---------

Co-authored-by: Enrique <enrique.gonzalez.martinez1@ibm.com>
Co-authored-by: Marek Novotný <hotmana76@gmail.com>
Co-authored-by: Gonzalo Muñoz <gmunozfe@redhat.com>
  • Loading branch information
4 people committed Feb 6, 2024
1 parent 39bca75 commit 81d98e6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public long getId() {

@Override
public Object getMetaData(String name) {
return ((NodeImpl)node).getMetaData(name);
return getMetaData().get(name);
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,11 @@ public void setEventType(String eventType) {
this.eventType = eventType;
}

@Override
protected void configureSla() {
// an async event node cannot have an sla event
}

@Override
public Node getNode() {
return new AsyncEventNode(super.getNode());
Expand Down

0 comments on commit 81d98e6

Please sign in to comment.