Business Rule is not triggered when a CI is discovered by a discovery Job.

Vinuj1
Tera Contributor

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.

find_real_file.png 

Thanks

4 REPLIES 4

Appli
Mega Sage
Mega Sage

Hi, is it about newly discovered CIs or existing ones that are already in CMDB?

If second, please check this KB.

Hope it helps

Hope it helps

Vinuj1
Tera Contributor
Newly discovered CIs

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

Hope it helps

Anshu_Anand_
Kilo Sage
Kilo Sage

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

Regards,
Anshu