Business rule not triggered on table cmdb_rel_ci
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-19-2022 12:45 PM
Hi all,
We have a requirement to update an attribute in Server table when server has a domain controller.
We have created a 'After Insert' Business rule on table cmdb_rel_ci and updating the Server attribute in advanced script.
When a relationship for a server is created manually, the BR is working as expected.
But when a server is discovered, business rule is not triggered.
Can someone help on this.
Regards,
Kalyani
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-19-2022 08:14 PM
This is expected behavior. While running a discovery, sometimes updates goes through internal database API instead of Glide Record. So the business rules aren't triggered.
Set the glide.identification_engine.batch_update_last_discovered property to flase. This would make all the data go into the system through Glide Record and IRE.
*PS: If you don't find this property, create one and set it to false.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-20-2022 02:21 AM
Hello Ravindranath,
The property is already added and is set to false. It worked for one time and currently it is not working. The behavior is not consistent.
Any other possible way to achieve this?
Regards,
Kalyani