Anonymous
Not applicable

@Shaun Ang​ :

There are a few possible reasons why the outputs from the created notebook might be disappearing:

  1. Notebook permissions: It's possible that the user or service account running the workflow does not have permission to write to the destination notebook. Make sure that the user or service account has the necessary permissions to write to the notebook.
  2. Notebook deletion: It's possible that the created notebook is being deleted or overwritten by another process or user. Make sure that the workflow is not deleting or overwriting the notebook, and that no other processes or users are deleting or overwriting the notebook.
  3. Notebook metadata: The Jupyter notebook format stores outputs as metadata in the notebook file. It's possible that the created notebook is missing or has corrupted metadata, which is causing the outputs to disappear. You can try opening the created notebook in a text editor and checking the metadata to see if the outputs are present.

To retain the outputs, you can try the following:

  1. Save the created notebook in a different location or with a different name to avoid overwriting the original notebook.
  2. Use version control to track changes to the notebook and its outputs.
  3. Modify the workflow to include a step that saves the outputs to a separate file or database, rather than relying solely on the notebook metadata.

I hope this helps, and please let me know if you have any further questions or concerns.

View solution in original post