Forum Discussion
Data Pipeline : Invoke Pipeline Issue
- 1 year ago
Hi Jester_3 ,
The pipeline is failing because the child pipeline is taking longer to complete. To resolve this, I switched to using the Invoke Pipeline (Legacy) activity instead of the Invoke Pipeline (Preview) activity, and the pipeline succeeded.
Please use Invoke Pipeline (Legacy), as the Preview version relies on a linked service, and the access token used by that linked service is expiring during long-running executions.
If this post helps, then please consider Accepting as solution to help the other members find it more quickly, don't forget to give a "Kudos" – I’d truly appreciate it!
Thanks & Regards,
Rekha,
CustomerSupportTeam.
Hi Jester_3 ,
Thank you for reaching out to Microsoft Fabric Community.
In the "Invoke Pipeline" activity, please ensure that the "Wait on completion" option is checked so that the parent pipeline only succeeds after the child pipeline completes successfully. PFBS for reference.
I tested this by creating a script that fails on the first run and succeeds on the second. Then, I called this pipeline from another pipeline using the "Invoke Pipeline" activity with "Wait on completion" enabled, and the parent pipeline completed successfully.
If this post helps, then please consider Accepting as solution to help the other members find it more quickly, don't forget to give a "Kudos" – I’d truly appreciate it!
Thanks & Regards,
Rekha,
CustomerSupportTeam.
Hi v-sathmakuri
I checked that the wait for completion setting was enabled on the invoke-pipeline-activity and it was.
Thanks for the suggestion.
- v-sathmakuri1 year agoCommunity Support
Hi Jester_3 ,
Could you please check whether the pipeline you're trying to run has succeeded? Also, please review the latest run of this pipeline using the Monitor option in Fabric
If this post helps, then please consider Accepting as solution to help the other members find it more quickly, don't forget to give a "Kudos" – I’d truly appreciate it!
Thanks & Regards,
Rekha,
CustomerSupportTeam.
- Jester_31 year agoFrequent Visitor
Hi v-sathmakuri
I have checked the monitoring hub and can see that the child pipeline is correctly completing but a failure is still being reported to the parent pipeline.
In this instance the first fail from tickets is causing main pipeline to fail, but the fresh service pipeline runs until completion and has succeeded.
Thanks
- v-sathmakuri1 year agoCommunity Support
Hi Jester_3 ,
I have reproduced the same scenario. Please refer to the screenshot below for reference. In this case, Pipeline 5 serves as the main pipeline, while Pipeline 1 acts as a child pipeline, within which Notebook 1 is called. Both pipelines executed successfully after enabling 'Wait on completion'
Could you please share the screenshots showing how you configured both the child and main pipelines? This will help me suggest better solution.
Thanks & Regards,
Rekha,
CustomerSupportTeam.