How to make the work notes in an incident mandatory when the assignment group changes

velvet
Mega Guru

Currently when incidents are transferred techs sometimes are not putting in any work notes.   The receiving group can not tell which group the incident came from because there are no notes.

1 ACCEPTED SOLUTION

harshinielath
Tera Expert

Use a Client script and select onChange type for field 'Assignment Group' and write in script like this


g_form.setMandatory('work_notes', true);


View solution in original post

6 REPLIES 6

client scrips is easiest way ,clent script Type as onChange,select assignmetn group



function onChange(control, oldValue, newValue, isLoading, isTemplate) {


    if (isLoading || newValue === '') {


      g_form.setMandatory('work_notes', true);


     


  return;



    }



   


}


Travers M
Mega Guru

You can have the activity formatter track the assignment group changes.   The only slight problem there is that it keep the person and not the group.   Then you're left hunting for the group... sort of.   When it's created, that activity stream will record where it landed and who changed it to what group so as long as you can see the history in that formatter, you should be able to see what group it was in last.



As far as making the worknotes mandatory on change of assignment group, you'd need to do that with a onchange client script which others have already mentioned