Deepshikha 3010
Mega Guru

Hi Harshad Pasalkar,

I have tried with senario in my pdi you can use After Update Business Rule

// Add your code here
var vew = new GlideRecord('incident');
vew.addActiveQuery(); //Cross check only active incidents
vew.addQuery('problem_id', current.sys_id);
vew.query();

while(vew.next()){
vew.state = '7';
vew.close_code = 'Solved (Work Around)';
vew.close_notes = 'The incident is Closed/Resolved';
vew.update();
}

I also attached my docs of this pdi. Please refer this

If this solution works for you, please mark it as helpful.

Regards,

Deepshikha Pandey