Based on your scenario, it seems you're trying to access a return value from a child pipeline executed via an Execute Pipeline activity in Azure Data Factory (ADF). The syntax you're currently using refers to output.properties.returnValue
, which is typically used for other activities like Web or Custom activities not for Execute Pipeline activities.
To retrieve a value returned from a child pipeline, you should use the following expression:
@activity('set_variables_activities_with_airflow').output.pipelineReturnValue.declared_return_value
Here:
-
'set_variables_activities_with_airflow'
is the name of your Execute Pipeline activity. -
declared_return_value
is the key name you've defined in theReturn
activity of the child pipeline.
For more details refer: Return values from a child pipeline
Please ensure that:
- Your child pipeline contains a Return activity.
- The key you're trying to access (
declared_return_value
) is correctly defined in that Return activity.
I hope this information helps.
Kindly consider upvoting the comment if the information provided is helpful. This can assist other community members in resolving similar issues.