omkasera972-ai opened a new pull request, #9460:
URL: https://github.com/apache/hop/pull/9460

   ## Description
   This pull request fixes issue #9458 where variables set in a child pipeline 
using the "Set variables" transform were not correctly propagating back to the 
parent pipeline.
   
   The previous implementation relied solely on `pipeline.getParentPipeline()`, 
which didn't always correctly capture the nested relationship in certain 
execution contexts. 
   
   ## Changes
   - Updated `SetVariable.java` to use a more robust hierarchy traversal logic.
   - Utilizes `getParentEngine()` to climb up the execution tree (Pipeline -> 
Parent Pipeline -> Workflow) ensuring the variable is set at every level.
   - Added basic logging to track variable propagation during execution.
   
   ## Related Issue
   Fixes #9458
   
   ## Checklist
   - [x] Run `mvn clean install` (Basic verification)
   - [x] I hereby declare this contribution to be licensed under the [Apache 
License Version 2.0, January 2004](http://www.apache.org/licenses/LICENSE-2.0).
   
   
   


-- 
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]

Reply via email to