This is an automated email from the ASF dual-hosted git repository.

pefernan pushed a commit to branch main
in repository 
https://gitbox.apache.org/repos/asf/incubator-kie-kogito-runtimes.git


The following commit(s) were added to refs/heads/main by this push:
     new f9d01d751f [NO_ISSUE] Fix User Task variable events. (#3755)
f9d01d751f is described below

commit f9d01d751fc19df271277e4237106e976569c95a
Author: Pere Fernández <[email protected]>
AuthorDate: Thu Oct 31 10:18:22 2024 +0100

    [NO_ISSUE] Fix User Task variable events. (#3755)
---
 .../java/org/kie/kogito/usertask/impl/DefaultUserTaskInstance.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/jbpm/jbpm-usertask/src/main/java/org/kie/kogito/usertask/impl/DefaultUserTaskInstance.java
 
b/jbpm/jbpm-usertask/src/main/java/org/kie/kogito/usertask/impl/DefaultUserTaskInstance.java
index 266e674887..757bf30ede 100644
--- 
a/jbpm/jbpm-usertask/src/main/java/org/kie/kogito/usertask/impl/DefaultUserTaskInstance.java
+++ 
b/jbpm/jbpm-usertask/src/main/java/org/kie/kogito/usertask/impl/DefaultUserTaskInstance.java
@@ -210,7 +210,7 @@ public class DefaultUserTaskInstance implements 
UserTaskInstance {
     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();
     }
@@ -219,7 +219,7 @@ public class DefaultUserTaskInstance implements 
UserTaskInstance {
     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();
     }


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to