AnsweredAssumed Answered

Filtering Incidents Presented from Update Children

Question asked by andholmes on Nov 6, 2018
Latest reply on Nov 16, 2018 by andholmes

I'm working in Service Desk Manager 17.1. We have a requirement that incidents cannot have a "grandparent" relationship. I need to find a way to exclude incidents that have children from the query when a user clicks the Update Children button. The function called from the button is update_children on the in_relreq_tab.htmpl form. Is there a way to default this field on list_in.htmpl when the button Update Children button is clicked and prevent the user from removing the filter using Clear Filter : searchFilterDropdown("Child Type","child_type","","Not A Child","0","Child","1");

 

I have done similar things on dtlLookup fields using the following method but cannot figure out how to do it from the button click:

Added to detail_in form on Group field
extraURL="QBE.EQ.z_incident_group=1+KEEP.IncidentGroup=1"
Added to list_cnt form
<PDM_IF "$args.KEEP.IncidentGroup" == "1">
document.write('<INPUT TYPE=hidden NAME="QBE.EQ.z_incident_group" value="1">');
</PDM_IF>

Outcomes