Forum Discussion
pipeline return value to parent pipeline
Hi
I want to pass return value from child pipeline to parent pipeline and followed the example mentioned in this guide.
Set Pipeline Return Value - Azure Data Factory & Azure Synapse | Microsoft Learn
Child pipeline
Unfortunately I am getting error indicating the output property of pipelineReturnValue itself doesn't exist.
The expression 'setProperty(json('{}'),'output',activity('Invoke pipeline1_copy1').output.pipelineReturnValue.child_return)' 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'.
Strangely this works fine in legacy pipeline activity and not preview pipeline activity.
I didn't notice in documentation there is a bug related to it. Looks like I have to go with legacy pipeline execution.
5 Replies
- g3kuser
Helper II
I didn't notice in documentation there is a bug related to it. Looks like I have to go with legacy pipeline execution.
- AnonymousNot applicable
- kghjRegular Visitor
Since Invoke Pipeline is out of preview I had assumed this would be fixed?
Or is there a new way to access the returnValue? - PAschieriFrequent Visitor
Any news about this? Thanks
- robscottRegular Visitor
Ran into the same issue and found that the expression has been updated from output.pipelineReturnValue (on the legacy pipeline activity) to output.properties.returnValue (on the "new" pipeline activity).
Hopefully this is still helpful