Got it worked.
I had installed plugin “Radio Buttons for Taxonomies” which i had to uninstall to get this code work:
function add_webinar_category_automatically($post_ID) {
global $wpdb;
if(!has_term('','webinar-status',$post_ID)){
$cat = 9;
wp_set_object_terms($post_ID, $cat, 'webinar-status');
}
}
add_action('publish_webinar', 'add_webinar_category_automatically');