Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2023 05:51 AM
You can use the dbutils.notebook.exit("returnValue") as explained here stop execution of a notebook gracefully.
if condition:
pass
else:
dbutils.notebook.exit("Aborting as ondition not met. Further tasks will be skipped")