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

Fabric Data Days Monthly is back. Join us on March 26th for two expert-led sessions on 1) Getting Started with Fabric IQ and 2) Mapping & Spacial Analytics in Fabric. Register now

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

3 REPLIES 3
asocorrocognex
Helper II
Helper II

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

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Fabric Update Carousel

Fabric Monthly Update - February 2026

Check out the February 2026 Fabric update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.