Hi @MarcinO, The issue you're experiencing is that widgets are unsupported in scheduled jobs in Databricks. When you run a notebook interactively, you can set widget values, which can then be accessed via dbutils.widgets.get()
.
However, when scheduling a job, there's no interactive interface to set these widget values, which is why you're seeing the InputWidgetNotDefined
error.
You can pass the parameters directly to the job during scheduling to resolve this issue. You can do this by defining the parameters in the job configuration and then accessing those parameters in your notebook. dbutils.widgets.get()
.