How to Resolve An Incident by closing Problem?
How to Resolve An Incident by closing Problem?
Working Code Answered question October 15, 2023
Write a business rule on problem table and give condition problem state changes to closed
Write after business rule on Problem table with below code var gr = new GlideRecord('incident'); gr.addQuery("parent",current.sys_id); gr.query(); if(gr.next()) { gr.state="4"; gr.update() }
How to Resolve An Incident by closing Problem?
Working Code Answered question October 15, 2023