Wow this is an old issue but I have now run into a scenario where this is needed.
use case: I have a task that I'd like to run on ALL plans, think of it as a shared task, but each plan would need to pass in some variables at runtime.
Issues I see
- I can trigger a child plan but can not share an artifact from more then 1 parent plan
- I can use the inject functionality on the parent plan, but there is no way to pass them to the child plan when it's triggered
- I can manually trigger all these steps individually but can not automate them
- I can move the task from the child plan to the parent, but if I need to update the task, I have hundreds of plans/tasks that I would need to now update
Solution: create a plan/task that can be shared on all parent plans and have the ability to pass variables from the parent plan to the child plan, when called
Hey, is this issue resolved ? I have exactly the same issue , I have to pass few variables to child plan. Is the any correct way to do it? or any workaround to override the variables in script. Any help is appreciated