Business Rule is not triggered when a CI is discovered by a discovery Job.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2022 11:09 PM
Dear Experts!
I have a business rule which is to update certain missing attributes of a computer CIs.
The business rule runs as expected whenever the CIs are created manually.
But the BR does not get triggered whenever the CIs are discovered via a discovery job.
Thanks
- Labels:
-
Discovery
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2022 12:26 AM
Hi, is it about newly discovered CIs or existing ones that are already in CMDB?
If second, please check this KB.
Hope it helps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2022 12:48 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2022 08:13 AM
Hi, it might be some discovery script contains "setWorkflow(false);" statement that blocks an execution of BR. Suggest to check all Discovery scripts being used.
Hope it helps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2022 07:20 AM
Hi
There are two ways to achieve this.
1. Writing post processing script which runs after discovery.
2. Your BR rule.
For the BR rule you need to provide exact condition if you want to update certain fields.
Also the table you are creating this BR please check.
If the BR is for computer table and if any computer is updated via discovery , the BR rule will trigger
also depend what script you are writing, maybe the script is not executing.
Try to use logs to check if BR is running.
Hope its helpful
Anshu