need to poulate table name based on type field

kirangorde09069
Tera Contributor
 function onChange(control, oldValue, newValue, isLoading, isTemplate) {
    if (isLoading || newValue === '') {
      g_form.clearValue("u_set_criteria");
       return;
   }

   if (newValue == "u_assignment_rule") {
       g_form.setValue("u_set_criteria", "u_assignment_rule");
   }

   //Type appropriate comment here, and begin script below
   
 }
i have a field table_name its type is table and i have another field select_criteria its type is condition when i select table name based on that table in my select_criteria field populate all field related to my table-name field and i want only specific fields and i dont want system defined field how to do it in servicenow
0 REPLIES 0