Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2025 09:11 PM - edited 11-30-2025 09:12 PM
Hi @SRJDB ,
Here is a work around, you can switch to the widget to text parameter and implement a enums. It helps in validation in both value as well as case check. Using enums in one of the best practices to use constant variables. More over you can add functions that can terminate the notebook gracefully if you have mentioned wrong values.
You can use the below command to terminate the notebook,
dbutils.notebook.exit("Optional exit value or message")
Hope this helps.