You can create widgets by using this- dbutils.widgets.text("widgetName", "")
To get the value for that widget:- dbutils.widgets.get("widgetName")
So by using this you can manually create widgets (variable) and can run the process by giving desired value.
If you want to take the value of widgets from the job parameter then you can also do.