Business rule "CSDM Data Sync on Reclassification" wrongly clearing CI "managed_by_group" field

Vincent Wong1
Tera Contributor

Hi all,

 

We are experiencing an behavior that some CI "managed_by_group" field is being cleared by Business rule "CSDM Data Sync on Reclassification".

 

I was wondering if anyone is aware of the intended usage of this business rule?

I see the rule is checking against table "cmdb_class_info" for default CI class manged by group.

However, not all CI class was setup in "cmdb_class_info".

 

We do not prefer this business rule to update the CI "managed_by_group" field.

 

Shall we disable to business rule? Any suggestion?

The difficult part for us to make the decision is unable to tell the OOTB intended usage.

 

Thanks in advance.

Regards, Vincent Wong

12 REPLIES 12

Vladimir6
Tera Expert

I dod not try it, but maybe it could help, if we put to BR Conditions

previous.sys_class_name != ''

OR

!current.sys_class_name.changesFrom('')

Now I have tried it, and

!current.sys_class_name.changesFrom('')

has solved the problem for me.

Hi @Vladimir6 ,

 

My understanding, above condition limit the BR to exclude new CI creation and only execution during CI class change?

 

In this case, for CI class change case will still hit the same issue?

 

Regards, Vincent Wong

Hi @Vincent Wong1 

yes, this solution will only exclude fresh inserted CIs. By the class change, the Managed by Group will be emptied/changed. I have tested it. If you do not want the Managed by Group to be changed at any circumstances, IMO you need to deactivate the Business Rule completely.

Regards, Vladimir

Jaya5
Tera Contributor

Can you put the screenshot here please,