I'm working on a customization for ServiceDesk.
My customization should fill automatically the Urgency and impact fields depending on area.
The fields are being filled, but when the form is submitted the fields are not being saved in ticket (detail_in), the fields keep with the default values.
The method meuMetodo() is called for do it.
function meuMetodo() var myImpact = "$args.category.zcategory_impact"; var myUrgency = "$args.category.category_urgency"; document.main_form.elements["SET.impact"].value = myImpact; document.main_form.elements["SET.urgency"].value = myUrgency; set_priority(pri_cal_matrix, myImpact, myUrgency); }