Find a deleted business rule

Shivani Khedek1
Giga Contributor

I have a Custom task table containing a field 'OWNER', on which I have applied a Business Rule which was supposed to mark a State to 'Closed Complete' as soon as if any change occurs in 'OWNER' field. By some reason I deleted this business rule and wrote another business rule similar to this for another field 'APPROVAL', then too I don't kmow how bt my old business rule is also working.

I searched for it into Business Rules table but as i have deleted it previously so i couldn't find it.

Can somebody help me to find its location and so delete it? 

Thank you,

Shivani

10 REPLIES 10

Jeff Currier
ServiceNow Employee
ServiceNow Employee

I can think of a couple options.

You could look at sys_update_version.list and see if you can find the change there.  This might help you find where it exists now.  Or if you know when it may have triggered, you can use the node log file browser to look at that time frame and see the name of the business rule(s) executed  This also may help you find it.

Also, are you sure you deleted it and didn't just change it?  You may want to look at the history of the rules you do see for that field.

I hope this helps,

Jeff

hi,

yes you are right, actually, I changed my old business rule into new one instead of deleting it. I searched my new business rule's history and found its old name as the name of my old business rule.

Can you please tell me how can I delete my old rule and keep new one as it is?

Thank you, 

Shivani.

If you renamed the rule, the old rule shouldn't exist.  I believe you changed the name and then changed the conditions of the rule and saved it.  If that is what you did, the old conditions should no longer exist.  I think you may need to look harder at this rule or other rules and the rule order to see what is happening in your environment to understand what is updating the fields.

For this I like to use the Field Watcher.  This helps you see what is actually triggering changes.

-Jeff

Please do one thing just inactivate the BR itself and check if still the same problem

Then check if any other script/business rule running to update the logic .That may be causing the problem

 

Please mark the answer as correct if it helped you.!!

 

Regards,

Chalan