Forum Discussion

Mez's avatar
Mez
Qrew Trainee
2 months ago

Callable pipelines - chaining

Would like to chain pipelines together, need a return value in order to know the next best path for future calls. Can the calling pipeline see or know when the called pipeline has finished? Is the Bucket channel the only way to store a value that can then be used in the calling pipeline to achieve this? 

pipe A calls B, B does work, pushes a value into the Bucket, then A can then see this value? 

This post is from about ~2 years ago. At that time, return value was not an option. https://community.quickbase.com/discussions/quickbase-discussions/callable-pipeline-return-value/18753

  • Sorry, I read your question again and see that I did not answer it correctly.  If you want to change some thing after the called Pipeline has completed, then that called Pipeline would need to end with a call to a callable Pipeline. 

    Be careful you don't create infinite loops. A call to a callable pipeline counts as a Step Run.  

    • Mez's avatar
      Mez
      Qrew Trainee

      Ok, so a return value (could be the whole output object from Pipeline Finished operation) of a called pipeline is still not a feature of pipelines. Do you have any experience or know a solid resource on using the bucket channel from calling or called pipelines?

  • Yes, In fact a main feature callable pipeline is to pass parameter values from the calling pipeline to the called pipeline.  If you look carefully right in the Steps for a callable pipeline it shows you examples of how to pass the parameters.