Skip to content

Commit

Permalink
[NO_ISSUE] Fix User Task variable events.
Browse files Browse the repository at this point in the history
  • Loading branch information
pefernan committed Oct 29, 2024
1 parent 79b771a commit eea7e0b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ public void setOutputs(Map<String, Object> outputs) {
public void setInput(String key, Object newValue) {
Object oldValue = this.inputs.put(key, newValue);
if (this.userTaskEventSupport != null) {
this.userTaskEventSupport.fireOnUserTaskInputVariableChange(this, key, oldValue, newValue);
this.userTaskEventSupport.fireOnUserTaskInputVariableChange(this, key, newValue, oldValue);
}
updatePersistence();
}
Expand All @@ -219,7 +219,7 @@ public void setInput(String key, Object newValue) {
public void setOutput(String key, Object newValue) {
Object oldValue = this.outputs.put(key, newValue);
if (this.userTaskEventSupport != null) {
this.userTaskEventSupport.fireOnUserTaskOutputVariableChange(this, key, oldValue, newValue);
this.userTaskEventSupport.fireOnUserTaskOutputVariableChange(this, key, newValue, oldValue);
}
updatePersistence();
}
Expand Down

0 comments on commit eea7e0b

Please sign in to comment.