Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join us at FabCon Vienna from September 15-18, 2025, for the ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM. Get registered

Reply
tarima
New Member

Passing a variable from one pipeline to another

I'm trying to pass a variable from one pipeline (child) to another (parent). The child pipeline creates a return value variable called Test.

 

tarima_2-1729783089398.png

It's working just fine. Here is the output.

tarima_0-1729782280875.png

The parent pipeline invokes the child pipeline and then runs a Set Variable activity to capture the child pipeline's return value. Here is the expression for the Set Variable activity in the parent pipeline.

 

@activity('GetTest').output.pipelineReturnValue.Test
 

When I run the parent pipeline the Set Variable activity fails with the following error message.

 

The expression 'activity('GetTest').output.pipelineReturnValue.Test' cannot be evaluated because property 'pipelineReturnValue' doesn't exist, available properties are 'id, itemId, jobType, invokeType, status, failureReason, rootActivityId, startTimeUtc, endTimeUtc, monitoringURL, pipelineRunId, ResponseHeaders, effectiveIntegrationRuntime, executionDuration, durationInQueue, billingReference'.

 

Here is the output of the child pipeline. No Test variable.

tarima_1-1729782708422.png

So, the child pipeline is creating the return value just fine but when I invoke it in a parent pipeline the return value doesn't exist. Any ideas why?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @tarima 

 

Create a child pipeline

 

vnuocmsft_0-1729820740659.png

 

vnuocmsft_1-1729820759467.png

Create the Parent Pipeline and add an Invoke Pipeline activity to invoke the child pipeline.

 

vnuocmsft_2-1729820796861.png

 

"Invoke pipeline"

vnuocmsft_6-1729821137947.png

 

"Set variable"

vnuocmsft_7-1729821562903.png

 

@activity('Invoke Pipeline1').output.pipelineReturnValue.Test

 

vnuocmsft_8-1729821642146.png

 

Regards,

Nono Chen

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @tarima 

 

Create a child pipeline

 

vnuocmsft_0-1729820740659.png

 

vnuocmsft_1-1729820759467.png

Create the Parent Pipeline and add an Invoke Pipeline activity to invoke the child pipeline.

 

vnuocmsft_2-1729820796861.png

 

"Invoke pipeline"

vnuocmsft_6-1729821137947.png

 

"Set variable"

vnuocmsft_7-1729821562903.png

 

@activity('Invoke Pipeline1').output.pipelineReturnValue.Test

 

vnuocmsft_8-1729821642146.png

 

Regards,

Nono Chen

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

Hi @Anonymous , 
I did try the above steps but still I am getting the same error 

The expression 'activity('Invoke pipeline1').output.pipelineReturnValue.Test' cannot be evaluated because property 'pipelineReturnValue' doesn't exist, available properties are 'id, itemId, jobType, invokeType, status, failureReason, rootActivityId, startTimeUtc, endTimeUtc, monitoringURL, pipelineRunId, ResponseHeaders, effectiveIntegrationRuntime, executionDuration, durationInQueue, billingReference'.

 

 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June FBC25 Carousel

Fabric Monthly Update - June 2025

Check out the June 2025 Fabric update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.