Cloud Pak for Data

 View Only

 How to Retrieve the Output of a Notebook Node and Use It in Pipeline Node Conditions in IBM Cloud Pak for Data?

Sara A's profile image
Sara A posted Tue December 03, 2024 04:52 AM
I am working on a pipeline in IBM Cloud Pak for Data and need help understanding how to view and use the output of a Notebook node. My goal is to create a conditional execution path in the pipeline based on the Notebook's results.
  • How can I inspect the runtime output of a Notebook node after it runs in the pipeline?
  • Is it possible to access and pass the Notebook output directly to a condition or another part of the pipeline? If so, how?
What I’ve tried so far:
  1. Environment Variables & Bash Scripts: I attempted to set environment variables and use Bash scripts for passing data between nodes, but this approach resulted in errors.
  2. Pipeline Parameters: I tried using pipeline parameters to share data across nodes but couldn’t figure out how to directly link these parameters to the Notebook node output.
  3. Notebook Configuration Output: I explored configuring the Notebook node Output, but I couldn’t figure out how to link it to a variable from the notebook itself.