Skip to content

Commit

Permalink
[JBPM-10078] Non-existing [SLA]... timer with session id=0 shown when…
Browse files Browse the repository at this point in the history
… using REST API to list all available timers in migrated process instance
  • Loading branch information
elguardian committed May 16, 2022
1 parent b35ca01 commit 3a70d22
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,10 @@ public NodeInstance readNodeInstance(MarshallerReaderContext context,
if (_node.getSlaDueDate() > 0) {
nodeInstance.internalSetSlaDueDate(new Date(_node.getSlaDueDate()));
}
nodeInstance.internalSetSlaTimerId(_node.getSlaTimerId());

if (_node.getSlaTimerId() > 0) {
nodeInstance.internalSetSlaTimerId(_node.getSlaTimerId());
}

switch ( _node.getContent().getType() ) {
case COMPOSITE_CONTEXT_NODE :
Expand Down

0 comments on commit 3a70d22

Please sign in to comment.