Way to close list view incidents without blocking auto closure job

MouktikB
Tera Contributor

There is a requirement to restrict users from closing incidents (p1 and p2) in list view without filling up a certain field. Created a BR to do the same and it worked as expected but also blocked the auto closure scheduled job. Created a data policy to replace that but wondering if that would also block the auto closure job? Please suggest if there are any better ideas and will not at all affect the auto closure job. This has led to quite some incidents which did not close automatically.

5 REPLIES 5

Thanks for your response. 
Actually, my script had a line current.setAbortAction(true) inside the scripting conditions which probably blocks auto closure job.
Do you think Adding this line gs.getSession().isInteractive() in Condition and then having the exiting script will help?