How to disable auto close for custom scoped applications inheriting incident table

Navaneeth1
Tera Guru

I have a custom scoped application inheriting from the incident table. This application only needs one state for closed so we kept that as the state 6 resolved. However, we realized that the global rules are automatically changing the field values to 7 after a couple days for our scoped custom application tables. 

Is there a way to make our custom scoped application to not be affected by this global state change without making any global changes?

1 ACCEPTED SOLUTION

Deborah Brown L
Kilo Sage

Hi @Navaneeth1 ,

There is a OOTB Business Rule named "incident autoclose". This script is updating the extended tables for Incident too.

It is not a best practice to do changes in OOTB scripts but for your requirement you have add a condition like if (

current.sys_class_name!= tablename) or (current.getTableName() != tablename).
Use the condition which works for you.
 
Note: Please Mark this Helpful and Accepted Solution. If this Helps you to understand. This will help both the community and me.
 
Regards,
Deborah Brown

View solution in original post

5 REPLIES 5

@Deborah Brown L ,

Thank you so much Deborah! 🙂