MohammadMu99 commented on PR #7259: URL: https://github.com/apache/incubator-kie/pull/7259#issuecomment-7123026699
Thanks @Abhitocode for testing it! About the events showing up 3 times: this comes from the existing migration flow, not from the variable rules. Migration is triggered in `StandardMigrationProcessInstanceMarshallerListener.afterUnmarshallProcess()`, which runs every time a process instance is loaded. Until the instance is saved, its stored state still points to the old version, so each load migrates it again. The logs show the `MIGRATED` event (`fireOnMigration`, already in that method) repeating the same number of times. The variable events are fired from the same step, so they repeat along with it. The final variable values are still correct, because each run starts from the same stored state. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
